pub unsafe extern "C" fn cuSurfRefGetArray(
phArray: *mut CUarray,
hSurfRef: CUsurfref,
) -> CUresult
Expand description
\brief Passes back the CUDA array bound to a surface reference.
\deprecated
Returns in \p *phArray the CUDA array bound to the surface reference \p hSurfRef, or returns ::CUDA_ERROR_INVALID_VALUE if the surface reference is not bound to any CUDA array.
\param phArray - Surface reference handle \param hSurfRef - Surface reference handle
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE
\sa ::cuModuleGetSurfRef, ::cuSurfRefSetArray