Table of Contents

Class KernelFusionOpportunity

Namespace
DotCompute.Backends.OpenCL.Execution
Assembly
DotCompute.Backends.OpenCL.dll

Describes an opportunity for kernel fusion optimization.

public sealed class KernelFusionOpportunity
Inheritance
KernelFusionOpportunity
Inherited Members

Properties

EstimatedSpeedup

Gets the estimated speedup from fusion (e.g., 1.5 = 50% faster).

public required double EstimatedSpeedup { get; init; }

Property Value

double

Reason

Gets the reason why these stages can be fused.

public required string Reason { get; init; }

Property Value

string

Stage1

Gets the first stage name.

public required string Stage1 { get; init; }

Property Value

string

Stage2

Gets the second stage name.

public required string Stage2 { get; init; }

Property Value

string

Methods

ToString()

Returns a string representation of this opportunity.

public override string ToString()

Returns

string