Texture Reference Management
[CUDA Runtime API]


Functions

cudaError_t cudaBindTexture (size_t *offset, const struct textureReference *texref, const void *devPtr, const struct cudaChannelFormatDesc *desc, size_t size=UINT_MAX)
 Binds a memory area to a texture.
cudaError_t cudaBindTexture2D (size_t *offset, const struct textureReference *texref, const void *devPtr, const struct cudaChannelFormatDesc *desc, size_t width, size_t height, size_t pitch)
 Binds a 2D memory area to a texture.
cudaError_t cudaBindTextureToArray (const struct textureReference *texref, const struct cudaArray *array, const struct cudaChannelFormatDesc *desc)
 Binds an array to a texture.
struct cudaChannelFormatDesc cudaCreateChannelDesc (int x, int y, int z, int w, enum cudaChannelFormatKind f)
 Returns a channel descriptor using the specified format.
cudaError_t cudaGetChannelDesc (struct cudaChannelFormatDesc *desc, const struct cudaArray *array)
 Get the channel descriptor of an array.
cudaError_t cudaGetTextureAlignmentOffset (size_t *offset, const struct textureReference *texref)
 Get the alignment offset of a texture.
cudaError_t cudaGetTextureReference (const struct textureReference **texref, const char *symbol)
 Get the texture reference associated with a symbol.
cudaError_t cudaUnbindTexture (const struct textureReference *texref)
 Unbinds a texture.

Detailed Description

This section describes the low level texture reference management functions of the CUDA runtime application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA