Table of Contents

Class RegisterAnalysis

Namespace
DotCompute.Core.Models
Assembly
DotCompute.Core.dll

Represents an analysis of register usage and pressure for kernel optimization.

public class RegisterAnalysis
Inheritance
RegisterAnalysis
Inherited Members

Properties

IsRegisterLimited

Gets or sets whether register pressure is limiting occupancy.

public bool IsRegisterLimited { get; set; }

Property Value

bool

MaxBlocksPerSmRegisters

Gets or sets the maximum blocks per SM limited by register usage.

public int MaxBlocksPerSmRegisters { get; set; }

Property Value

int

MaxRegistersPerBlock

Gets or sets the maximum registers available per block.

public int MaxRegistersPerBlock { get; set; }

Property Value

int

MaxRegistersPerSM

Gets or sets the maximum registers available per SM.

public int MaxRegistersPerSM { get; set; }

Property Value

int

RegistersPerThread

Gets or sets the number of registers used per thread.

public int RegistersPerThread { get; set; }

Property Value

int

RegistersUsedPerBlock

Gets or sets the number of registers used per block.

public int RegistersUsedPerBlock { get; set; }

Property Value

int

Suggestions

Gets the list of optimization suggestions.

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

Property Value

IList<string>

WarpOccupancy

Gets or sets the warp occupancy (0.0 to 1.0).

public double WarpOccupancy { get; set; }

Property Value

double