Table of Contents

Class KernelExecutionMetrics

Namespace
DotCompute.Abstractions.Performance
Assembly
DotCompute.Abstractions.dll

Metrics for kernel execution.

public sealed class KernelExecutionMetrics
Inheritance
KernelExecutionMetrics
Inherited Members

Properties

BlockCount

Gets or sets the number of blocks/workgroups.

public int BlockCount { get; init; }

Property Value

int

ExecutionTimeMs

Gets or sets the execution time in milliseconds.

public double ExecutionTimeMs { get; init; }

Property Value

double

GigaFlops

Gets or sets the FLOPS achieved.

public double GigaFlops { get; init; }

Property Value

double

KernelName

Gets or sets the kernel name.

public required string KernelName { get; init; }

Property Value

string

MemoryBandwidthGBps

Gets or sets the memory bandwidth achieved in GB/s.

public double MemoryBandwidthGBps { get; init; }

Property Value

double

Occupancy

Gets or sets the achieved occupancy (0.0 to 1.0).

public double Occupancy { get; init; }

Property Value

double

QueueWaitTimeMs

Gets or sets the queue wait time in milliseconds.

public double QueueWaitTimeMs { get; init; }

Property Value

double

RegistersPerThread

Gets or sets the register count per thread.

public int RegistersPerThread { get; init; }

Property Value

int

SharedMemoryBytes

Gets or sets the shared memory used in bytes.

public long SharedMemoryBytes { get; init; }

Property Value

long

ThreadCount

Gets or sets the number of threads used.

public int ThreadCount { get; init; }

Property Value

int

Timestamp

Gets or sets the timestamp of execution.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset