cudaError_t cudaProfilerStart ( void   ) 

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.

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


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA