cudaError_t cudaGetTextureAlignmentOffset ( size_t *  offset,
const struct textureReference texref 

Returns in *offset the offset that was returned when texture reference texref was bound.

offset - Offset of texture reference in bytes
texref - Texture to get offset of
cudaSuccess, cudaErrorInvalidTexture, cudaErrorInvalidTextureBinding
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaCreateChannelDesc (C API), cudaGetChannelDesc, cudaGetTextureReference, cudaBindTexture (C API), cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C API), cudaGetTextureAlignmentOffset (C++ API)

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA