This section describes the profiler control functions of the CUDA runtime application programming interface.
Enables profile collection by the active profiling tool for the current context. If profiling is already enabled, thencudaProfilerStart() has no effect.
cudaProfilerStart and cudaProfilerStop APIs are used to programmatically control the profiling granularity by allowing profiling to be done only on selective pieces of code.
Note that this function may also return error codes from previous, asynchronous launches.
See also:
Disables profile collection by the active profiling tool for the current context. If profiling is already disabled, thencudaProfilerStop() has no effect.
cudaProfilerStart and cudaProfilerStop APIs are used to programmatically control the profiling granularity by allowing profiling to be done only on selective pieces of code.
Note that this function may also return error codes from previous, asynchronous launches.
See also: