Table of Contents

Class CudaOptimizationResult

Namespace
DotCompute.Backends.CUDA.Advanced.Features.Models
Assembly
DotCompute.Backends.CUDA.dll

Result of optimization operations.

public sealed class CudaOptimizationResult
Inheritance
CudaOptimizationResult
Inherited Members

Properties

ErrorMessage

Gets or sets an error message if optimization failed.

public string? ErrorMessage { get; set; }

Property Value

string

OptimizationTime

Gets or sets the time taken to perform optimizations.

public TimeSpan OptimizationTime { get; set; }

Property Value

TimeSpan

OptimizationsApplied

Gets or initializes the list of optimizations that were applied.

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

Property Value

IList<string>

PerformanceGain

Gets or sets the estimated performance gain (1.0 = no gain, 2.0 = 2x faster).

public double PerformanceGain { get; set; }

Property Value

double

Recommendations

Gets or sets recommendations for further optimization.

public IList<string> Recommendations { get; }

Property Value

IList<string>

Success

Gets or sets whether the optimization was successful.

public bool Success { get; set; }

Property Value

bool