cudaError_t cudaGetSurfaceAlignmentOffset ( size_t *  offset,
const struct surfaceReference surfref 
)

Returns in *offset the offset that was returned when surface reference surface was bound.

Parameters:
offset - Offset of surface reference in bytes
surfref - Surface to get offset of
Returns:
cudaSuccess, cudaErrorInvalidSurface, cudaErrorInvalidSurfaceBinding
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaBindSurfaceToArray (C API), cudaGetSurfaceReference


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA