pub unsafe extern "C" fn cuModuleGetSurfRef(
pSurfRef: *mut CUsurfref,
hmod: CUmodule,
name: *const c_char,
) -> CUresult๐Deprecated
Expand description
Returns a handle to a surface reference.
Returns in *pSurfRef the handle of the surface reference of name name in the module hmod. If no surface reference of that name exists, cuModuleGetSurfRef returns cudaError_enum::CUDA_ERROR_NOT_FOUND.
ยงParameters
pSurfRef: Returned surface reference.hmod: Module to retrieve surface reference from.name: Name of surface reference to retrieve.