cuda.bindings._v2.driver.module_get_tex_ref#
- cuda.bindings._v2.driver.module_get_tex_ref(intptr_t hmod, name) intptr_t#
Returns a handle to a texture reference.
[Deprecated]. Returns in
*p_tex_refthe handle of the texture reference of namenamein the modulehmod. If no texture reference of that name exists,module_get_tex_ref()returnsCUDA_ERROR_NOT_FOUND. This texture reference handle should not be destroyed, since it will be destroyed when the module is unloaded.- Parameters:
hmod (intptr_t) – Module to retrieve texture reference from.
name (bytes) – Name of texture reference to retrieve.
- Returns:
Returned texture reference.
- Return type:
intptr_t
See also
cuModuleGetTexRef