cuda.bindings._v2.driver.tex_ref_set_mipmapped_array#

cuda.bindings._v2.driver.tex_ref_set_mipmapped_array(
intptr_t h_tex_ref,
intptr_t h_mipmapped_array,
unsigned int flags,
)#

Binds a mipmapped array to a texture reference.

[Deprecated]. Binds the CUDA mipmapped array h_mipmapped_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_mipmapped_array (intptr_t) – Mipmapped array to bind.

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

See also

cuTexRefSetMipmappedArray