Expand description
Backing store kind, as reported in TensorDesc::kind.
Constants§
- CUDA_
DEVICE - CUDA device memory.
ptris a device pointer, not host-addressable. - D3D11_
TEXTURE - Windows D3D11 texture.
handleis the texture’s NT shared handle andptrthe device fence’s NT shared handle, both valid in the producing process (other modules of the same process included);syncis the fence value of the last recorded GPU write whenSYNC_PRESENTis set. Theptrreuse followsPBO’s vtable precedent. - DMABUF
- Linux dma-buf.
handleis the fd. - HOST
- Host memory:
MemorShm.ptris valid;handleis -1. - IOSURFACE
- Apple IOSurface.
handleis the surface id. - PBO
- OpenGL pixel buffer object.
handleis the buffer id.