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_array the CUDA array bound to the surface reference h_surf_ref, or returns CUDA_ERROR_INVALID_VALUE if 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