Library/ManagedCuda/CudaContext.cs
/// <summary>
/// Enable profiling.<para/>
/// Enables profile collection by the active profiling tool for the
/// current context. If profiling is already enabled, then
/// cuProfilerStart() has no effect.<para/>
/// cuProfilerStart and cuProfilerStop APIs are used to
/// programmatically control the profiling granularity by allowing
/// profiling to be done only on selective pieces of code.
/// </summary>
Enable profiling.
Enables profile collection by the active profiling tool for the
current context. If profiling is already enabled, then
cuProfilerStart() has no effect.
cuProfilerStart and cuProfilerStop APIs are used to
programmatically control the profiling granularity by allowing
profiling to be done only on selective pieces of code.
Enable profiling . Enables profile collection by the active profiling tool for the current context . If profiling is already enabled then cuProfilerStart () has no effect . cuProfilerStart and cuProfilerStop APIs are used to programmatically control the profiling granularity by allowing profiling to be done only on selective pieces of code .
public static void ProfilerStart()
		{
			CUResult res;
			res = DriverAPINativeMethods.Profiling.cuProfilerStart();
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cuProfilerStart", res));
			if (res != CUResult.Success)
				throw new CudaException(res);
		}
public static void ProfilerStart ( ) { CUResult res ; res = DriverAPINativeMethods . Profiling . cuProfilerStart ( ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != CUResult . Success ) throw new CudaException ( res ) ; }
Enable profiling.
Enable profiling .