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_ref the handle of the surface reference of name name in the module hmod. If no surface reference of that name exists, module_get_surf_ref() returns CUDA_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