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.

78 Module Documentationz - Z componentw - W componentf - Channel formatReturns:See also:Channel descriptor with format fcudaCreateChannelDesc (C++ API), cudaGetChannelDesc, cudaGetTextureReference, cudaBindTexture (C API),cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C API), cudaGetTexture-AlignmentOffset (C API)3.12.2.5 cudaError_t cudaGetChannelDesc (struct cudaChannelFormatDesc ∗ desc, const struct cudaArray∗ array)Returns in ∗desc the channel descriptor of the <strong>CUDA</strong> array array.Parameters:desc - Channel formatarray - Memory array on deviceReturns:Note:See also:cudaSuccess, cudaErrorInvalidValueNote that this function may also return error codes from previous, asynchronous launches.cudaCreateChannelDesc (C API), cudaGetTextureReference, cudaBindTexture (C API), cudaBindTexture2D (CAPI), cudaBindTextureToArray (C API), cudaUnbindTexture (C API), cudaGetTextureAlignmentOffset (C API)3.12.2.6 cudaError_t cudaGetTextureAlignmentOffset (size_t ∗ offset, const struct textureReference ∗ texref)Returns in ∗offset the offset that was returned when texture reference texref was bound.Parameters:offset - Offset of texture reference in bytestexref - Texture to get offset ofReturns:cudaSuccess, cudaErrorInvalidTexture, cudaErrorInvalidTextureBindingNote:Note that this function may also return error codes from previous, asynchronous launches.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!