Table of Contents

Class KernelValidationResult

Namespace
DotCompute.Abstractions.Debugging
Assembly
DotCompute.Abstractions.dll

Represents the result of kernel validation across multiple backends.

public sealed class KernelValidationResult
Inheritance
KernelValidationResult
Inherited Members

Properties

BackendsTested

Gets the list of backends that were tested.

public IReadOnlyList<string> BackendsTested { get; init; }

Property Value

IReadOnlyList<string>

Comparisons

Gets the comparisons between backend results.

public IReadOnlyList<ResultComparison> Comparisons { get; init; }

Property Value

IReadOnlyList<ResultComparison>

Errors

Gets errors found during validation (filtered from Issues).

public IEnumerable<DebugValidationIssue> Errors { get; }

Property Value

IEnumerable<DebugValidationIssue>

ExecutionTime

Gets the total execution time for validation.

public TimeSpan ExecutionTime { get; init; }

Property Value

TimeSpan

IsValid

Gets whether the kernel validation passed.

public bool IsValid { get; init; }

Property Value

bool

Issues

Gets the validation issues found.

public Collection<DebugValidationIssue> Issues { get; init; }

Property Value

Collection<DebugValidationIssue>

KernelName

Gets the name of the kernel that was validated.

public string KernelName { get; init; }

Property Value

string

MaxDifference

Gets the maximum difference found between backend results.

public float MaxDifference { get; init; }

Property Value

float

Metadata

Gets additional validation metadata.

public Dictionary<string, object> Metadata { get; init; }

Property Value

Dictionary<string, object>

Recommendations

Gets performance recommendations based on validation.

public IList<string> Recommendations { get; init; }

Property Value

IList<string>

RecommendedBackend

Gets the recommended backend based on validation results.

public string? RecommendedBackend { get; init; }

Property Value

string

ResourceUsage

Gets resource usage information during validation.

public Dictionary<string, object> ResourceUsage { get; init; }

Property Value

Dictionary<string, object>

Results

Gets the execution results from each backend.

public IReadOnlyList<KernelExecutionResult> Results { get; init; }

Property Value

IReadOnlyList<KernelExecutionResult>

TotalValidationTime

Gets the total validation time (same as ExecutionTime for compatibility).

public TimeSpan TotalValidationTime { get; }

Property Value

TimeSpan

ValidationTime

Gets when the validation was performed.

public DateTime ValidationTime { get; init; }

Property Value

DateTime

Warnings

Gets warnings found during validation (filtered from Issues).

public IEnumerable<DebugValidationIssue> Warnings { get; }

Property Value

IEnumerable<DebugValidationIssue>