cuda.bindings._v2.driver.module_get_surf_ref#
- cuda.bindings._v2.driver.module_get_surf_ref(intptr_t hmod, name) intptr_t#
Returns a handle to a surface reference.
[Deprecated]. Returns in
*p_surf_refthe handle of the surface reference of namenamein the modulehmod. If no surface reference of that name exists,module_get_surf_ref()returnsCUDA_ERROR_NOT_FOUND.- Parameters:
hmod (intptr_t) – Module to retrieve surface reference from.
name (bytes) – Name of surface reference to retrieve.
- Returns:
Returned surface reference.
- Return type:
intptr_t
See also
cuModuleGetSurfRef