This API starts the profiling for a context if it is not started already. Profiling must be initalized using cuProfilerInitialize() before calling this API. cuProfilerStart and cuProfilerStop APIs are used to programmatically control the profiling granularity by allowing profiling to be done only on selective pieces of code.
|