12.07.2015 Views

NVIDIA CUDA

NVIDIA CUDA

NVIDIA CUDA

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.12 Texture Reference Management 79See also:cudaCreateChannelDesc (C API), cudaGetChannelDesc, cudaGetTextureReference, cudaBindTexture (C API),cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C API), cudaGetTexture-AlignmentOffset (C++ API)3.12.2.7 cudaError_t cudaGetTextureReference (const struct textureReference ∗∗ texref, const char ∗symbol)Returns in ∗texref the structure associated to the texture reference defined by symbol symbol.Parameters:texref - Texture associated with symbolsymbol - Symbol to find texture reference forReturns:Note:See also:cudaSuccess, cudaErrorInvalidTexture,Note that this function may also return error codes from previous, asynchronous launches.cudaCreateChannelDesc (C API), cudaGetChannelDesc, cudaGetTextureAlignmentOffset (C API), cudaBind-Texture (C API), cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C API)3.12.2.8 cudaError_t cudaUnbindTexture (const struct textureReference ∗ texref)Unbinds the texture bound to texref.Parameters:texref - Texture to unbindReturns:Note:See also:cudaSuccessNote that this function may also return error codes from previous, asynchronous launches.cudaCreateChannelDesc (C API), cudaGetChannelDesc, cudaGetTextureReference, cudaBindTexture (C API),cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C++ API), cudaGetTextureAlignmentOffset(C API)Generated on Wed Apr 1 16:11:42 2009 for <strong>NVIDIA</strong> <strong>CUDA</strong> Library by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!