Class KernelPerformanceProfile
- Namespace
- DotCompute.Runtime.Services
- Assembly
- DotCompute.Runtime.dll
A class that represents kernel performance profile.
public sealed class KernelPerformanceProfile
- Inheritance
-
KernelPerformanceProfile
- Inherited Members
Constructors
KernelPerformanceProfile(string)
A class that represents kernel performance profile.
public KernelPerformanceProfile(string kernelName)
Parameters
kernelNamestring
Properties
ExecutionCount
Gets or sets the execution count.
public int ExecutionCount { get; }
Property Value
- int
The execution count.
KernelName
Gets or sets the kernel name.
public string KernelName { get; }
Property Value
- string
The kernel name.
Methods
AddExecution(KernelExecutionMetrics)
Performs add execution.
public void AddExecution(KernelExecutionMetrics metrics)
Parameters
metricsKernelExecutionMetricsThe metrics.
GetCompilationTimes()
Gets the compilation times.
public List<TimeSpan> GetCompilationTimes()
Returns
GetExecutionTimes()
Gets the execution times.
public List<TimeSpan> GetExecutionTimes()
Returns
GetMemoryUsages()
Gets the memory usages.
public List<double> GetMemoryUsages()
Returns
GetWorkGroupSizes()
Gets the work group sizes.
public List<WorkGroupSize> GetWorkGroupSizes()
Returns
- List<WorkGroupSize>
The work group sizes.