CUresult cuProfilerStop ( void   ) 

This API stops the profiling if it is not stopped already.

cuProfilerStart and cuProfilerStop APIs are used to programmatically control the profiling granularity by allowing profiling to be done only on selective pieces of code.

Returns:
CUDA_SUCCESS, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_PROFILER_DISABLED, CUDA_ERROR_PROFILER_ALREADY_STOPPED, CUDA_ERROR_PROFILER_NOT_INITIALIZED
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuProfilerInitialize, cuProfilerStart


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA