cudaError_t cudaGetSurfaceReference ( const struct surfaceReference **  surfref,
const char *  symbol 
)

Returns in *surfref the structure associated to the surface reference defined by symbol symbol.

Parameters:
surfref - Surface associated with symbol
symbol - Symbol to find surface reference for
Returns:
cudaSuccess, cudaErrorInvalidSurface
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaBindSurfaceToArray (C API)


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA