Table of Contents

Class KernelAnalysis

Namespace
DotCompute.Backends.CPU.Kernels.Models
Assembly
DotCompute.Backends.CPU.dll

Analysis results for a kernel.

public sealed class KernelAnalysis
Inheritance
KernelAnalysis
Inherited Members

Properties

CanVectorize

Gets or sets a value indicating whether vectorize.

public required bool CanVectorize { get; init; }

Property Value

bool

The can vectorize.

ComputeIntensity

Gets or sets the compute intensity.

public required ComputeIntensity ComputeIntensity { get; init; }

Property Value

ComputeIntensity

The compute intensity.

Definition

Gets or sets the definition.

public required KernelDefinition Definition { get; init; }

Property Value

KernelDefinition

The definition.

EstimatedComplexity

Gets or sets the estimated complexity.

public int EstimatedComplexity { get; set; }

Property Value

int

The estimated complexity.

HasBranching

Gets or sets a value indicating whether branching.

public bool HasBranching { get; set; }

Property Value

bool

The has branching.

HasLoops

Gets or sets a value indicating whether loops.

public bool HasLoops { get; set; }

Property Value

bool

The has loops.

MemoryAccessPattern

Gets or sets the memory access pattern.

public required MemoryAccessPattern MemoryAccessPattern { get; init; }

Property Value

MemoryAccessPattern

The memory access pattern.

OptimalVectorWidth

Gets or sets the optimal vector width.

public int OptimalVectorWidth { get; set; }

Property Value

int

The optimal vector width.

PreferredWorkGroupSize

Gets or sets the preferred work group size.

public required int PreferredWorkGroupSize { get; init; }

Property Value

int

The preferred work group size.

ThreadingOverhead

Gets or sets the threading overhead.

public double ThreadingOverhead { get; set; }

Property Value

double

The threading overhead.

TotalWorkItems

Gets or sets the total work items.

public long TotalWorkItems { get; set; }

Property Value

long

The total work items.

VectorizationFactor

Gets or sets the vectorization factor.

public required int VectorizationFactor { get; init; }

Property Value

int

The vectorization factor.

WorkDimensions

Gets or sets the work dimensions.

public WorkDimensions WorkDimensions { get; set; }

Property Value

WorkDimensions

The work dimensions.