Skip to main content

cuSurfRefGetArray

Function cuSurfRefGetArray 

Source
pub unsafe extern "C" fn cuSurfRefGetArray(
    phArray: *mut CUarray,
    hSurfRef: CUsurfref,
) -> CUresult
๐Ÿ‘ŽDeprecated
Expand description

Passes back the CUDA array bound to a surface reference.

Returns in *phArray the CUDA array bound to the surface reference hSurfRef, or returns cudaError_enum::CUDA_ERROR_INVALID_VALUE if the surface reference is not bound to any CUDA array.

ยงParameters

  • phArray: Surface reference handle.
  • hSurfRef: Surface reference handle.