CUresult cuSurfRefGetArray ( CUarray phArray,
CUsurfref  hSurfRef 
)

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

Parameters:
phArray - Surface reference handle
hSurfRef - Surface reference handle
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE
See also:
cuModuleGetSurfRef, cuSurfRefSetArray


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA