cuda.bindings._v2.driver.tex_ref_get_address_v2#

cuda.bindings._v2.driver.tex_ref_get_address_v2(intptr_t h_tex_ref) → uint64_t#

Gets the address associated with a texture reference.

[Deprecated]. Returns in *pdptr the base address bound to the texture reference h_tex_ref, or returns CUDA_ERROR_INVALID_VALUE if the texture reference is not bound to any device memory range.

Parameters:

h_tex_ref (intptr_t) – Texture reference.

Returns:

Returned device address.

Return type:

uint64_t

See also

cuTexRefGetAddress_v2