The current MemoryResource for device deviceId
The returned MemoryResource should only be used when CUDA device deviceId is the
current device (e.g. set using Device.activate()). The behavior of a MemoryResource
is undefined if used while the active CUDA device is a different device from the one that was
active when the MemoryResource was created.
The id of the target device