cuda.bindings._v2.driver.tex_ref_set_array#

cuda.bindings._v2.driver.tex_ref_set_array(
intptr_t h_tex_ref,
intptr_t h_array,
unsigned int flags,
)#

Binds an array as a texture reference.

[Deprecated]. Binds the CUDA array h_array to the texture reference h_tex_ref. Any previous address or CUDA array state associated with the texture reference is superseded by this function. flags must be set to CU_TRSA_OVERRIDE_FORMAT. Any CUDA array previously bound to h_tex_ref is unbound.

Parameters:
  • h_tex_ref (intptr_t) – Texture reference to bind.

  • h_array (intptr_t) – Array to bind.

  • flags (unsigned int) – Options (must be CU_TRSA_OVERRIDE_FORMAT).

See also

cuTexRefSetArray