Table of Contents

Class AcceleratorPerformanceMetrics

Namespace
DotCompute.Abstractions.Validation
Assembly
DotCompute.Abstractions.dll

Performance metrics collected during accelerator validation.

public sealed class AcceleratorPerformanceMetrics
Inheritance
AcceleratorPerformanceMetrics
Inherited Members

Properties

ComputeCapabilityScore

Gets the compute capability score.

public double ComputeCapabilityScore { get; init; }

Property Value

double

CustomMetrics

Gets additional custom metrics.

public IReadOnlyDictionary<string, object> CustomMetrics { get; init; }

Property Value

IReadOnlyDictionary<string, object>

DeviceMemoryBytes

Gets the device memory size in bytes.

public long DeviceMemoryBytes { get; init; }

Property Value

long

InitializationTimeMs

Gets the initialization time in milliseconds.

public double InitializationTimeMs { get; init; }

Property Value

double

MaxWorkGroupSize

Gets the maximum work group size.

public int MaxWorkGroupSize { get; init; }

Property Value

int

MemoryBandwidthGBps

Gets the memory bandwidth in GB/s.

public double MemoryBandwidthGBps { get; init; }

Property Value

double

SupportsUnifiedMemory

Gets whether the device supports unified memory.

public bool SupportsUnifiedMemory { get; init; }

Property Value

bool

Methods

ToString()

Returns a string representation of the performance metrics.

public override string ToString()

Returns

string

A formatted string with key performance metrics.