Expand description
Texture and surface memory — CUDA array allocation and bindless objects.
Implements the following CUDA Runtime API families:
- Array management:
cudaMallocArray,cudaFreeArray,cudaMalloc3DArray,cudaArrayGetInfo - Host-to-array copies:
cudaMemcpyToArray,cudaMemcpyFromArray,cudaMemcpyToArrayAsync,cudaMemcpyFromArrayAsync - Texture objects (bindless):
cudaCreateTextureObject,cudaDestroyTextureObject,cudaGetTextureObjectResourceDesc - Surface objects (bindless):
cudaCreateSurfaceObject,cudaDestroySurfaceObject
Structs§
- Array3D
Flags - Flags for 3-D CUDA array creation.
- Cuda
Array - RAII wrapper for a CUDA array (1-D or 2-D).
- Cuda
Array3D - RAII wrapper for a 3-D (or layered / cubemap) CUDA array.
- Cuda
Surface Object - RAII wrapper for a CUDA bindless surface object.
- Cuda
Texture Object - RAII wrapper for a CUDA bindless texture object.
- Resource
View Desc - Optional resource-view descriptor for texture objects.
- Texture
Desc - Ergonomic texture-object sampling configuration.
Enums§
- Address
Mode - Texture coordinate wrapping mode (maps to
cudaTextureAddressMode). - Array
Format - Element format for each channel in a CUDA array.
- Filter
Mode - Texture sampling filter mode (maps to
cudaTextureFilterMode). - Resource
Desc - High-level resource description for texture and surface objects.