Table of Contents

Class KernelProfile

Namespace
DotCompute.Core.Models
Assembly
DotCompute.Core.dll

Represents performance profiling data for a CUDA kernel.

public class KernelProfile
Inheritance
KernelProfile
Inherited Members

Properties

AverageTime

Gets or sets the average execution time per run.

public TimeSpan AverageTime { get; set; }

Property Value

TimeSpan

BlockSize

Gets or sets the thread block size.

public int BlockSize { get; set; }

Property Value

int

ExecutionCount

Gets or sets the number of times the kernel was executed.

public int ExecutionCount { get; set; }

Property Value

int

GridSize

Gets or sets the grid size.

public int GridSize { get; set; }

Property Value

int

MaxTime

Gets or sets the maximum execution time observed.

public TimeSpan MaxTime { get; set; }

Property Value

TimeSpan

MinTime

Gets or sets the minimum execution time observed.

public TimeSpan MinTime { get; set; }

Property Value

TimeSpan

Name

Gets or initializes the name of the profiled kernel.

public required string Name { get; init; }

Property Value

string

RegistersPerThread

Gets or sets the number of registers used per thread.

public long RegistersPerThread { get; set; }

Property Value

long

SharedMemoryUsed

Gets or sets the amount of shared memory used by the kernel in bytes.

public long SharedMemoryUsed { get; set; }

Property Value

long

StandardDeviation

Gets or sets the standard deviation of execution times.

public TimeSpan StandardDeviation { get; set; }

Property Value

TimeSpan

StartTime

Gets or initializes the timestamp when profiling started.

public DateTimeOffset StartTime { get; init; }

Property Value

DateTimeOffset

TotalTime

Gets or sets the total execution time across all runs.

public TimeSpan TotalTime { get; set; }

Property Value

TimeSpan