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