cuda.bindings._v2.driver.tex_ref_get_address_mode#

cuda.bindings._v2.driver.tex_ref_get_address_mode(intptr_t h_tex_ref, int dim) → int#

Gets the addressing mode used by a texture reference.

[Deprecated]. Returns in *pam the addressing mode corresponding to the dimension dim of the texture reference h_tex_ref. Currently, the only valid value for dim are 0 and 1.

Parameters:
  • h_tex_ref (intptr_t) – Texture reference.

  • dim (int) – Dimension.

Returns:

Returned addressing mode.

Return type:

int

See also

cuTexRefGetAddressMode