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.
|