cuda.bindings._v2.driver.surf_ref_get_array#
- cuda.bindings._v2.driver.surf_ref_get_array(intptr_t h_surf_ref) intptr_t#
Passes back the CUDA array bound to a surface reference.
[Deprecated]. Returns in
*ph_arraythe CUDA array bound to the surface referenceh_surf_ref, or returnsCUDA_ERROR_INVALID_VALUEif the surface reference is not bound to any CUDA array.- Parameters:
h_surf_ref (intptr_t) – Surface reference handle.
- Returns:
Surface reference handle.
- Return type:
intptr_t
See also
cuSurfRefGetArray