|
Returns in *offset the offset that was returned when texture reference texref was bound.
- Parameters:
-
| offset | - Offset of texture reference in bytes |
| texref | - Texture to get offset of |
- Returns:
- cudaSuccess, cudaErrorInvalidTexture, cudaErrorInvalidTextureBinding
- Note:
- 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)
|