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_arrayto the texture referenceh_tex_ref. Any previous address or CUDA array state associated with the texture reference is superseded by this function.flagsmust be set toCU_TRSA_OVERRIDE_FORMAT. Any CUDA array previously bound toh_tex_refis 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