cuda.bindings._v2.driver.param_set_tex_ref#
- cuda.bindings._v2.driver.param_set_tex_ref(intptr_t hfunc, int texunit, intptr_t h_tex_ref)#
Adds a texture-reference to the function’s argument list.
[Deprecated]. Makes the CUDA array or linear memory bound to the texture reference
h_tex_refavailable to a device program as a texture. In this version of CUDA, the texture-reference must be obtained viamodule_get_tex_ref()and thetexunitparameter must be set toCU_PARAM_TR_DEFAULT.- Parameters:
hfunc (intptr_t) – Kernel to add texture-reference to.
texunit (int) – Texture unit (must be
CU_PARAM_TR_DEFAULT).h_tex_ref (intptr_t) – Texture-reference to add to argument list.
See also
cuParamSetTexRef