cudaError_t cudaProfilerStop ( void   ) 

This API is used in conjunction with cudaProfilerStart to selectively profile subsets of the CUDA program. Profiler must be initialized using cudaProfilerInitialize() before making a call to cudaProfilerStop().API returns an error cudaErrorProfilerNotInitialized if it is called without initializing profiler.

Returns:
cudaSuccess, cudaErrorProfilerDisabled, cudaErrorProfilerAlreadyStopped, cudaErrorProfilerNotInitialized
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaProfilerInitialize, cudaProfilerStart


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA