Table of Contents

Class MemoryPatternAnalysis

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

Represents the result of memory pattern analysis for a kernel.

public sealed class MemoryPatternAnalysis
Inheritance
MemoryPatternAnalysis
Inherited Members

Properties

AnalysisTime

Gets the time when the analysis was performed.

public DateTime AnalysisTime { get; init; }

Property Value

DateTime

EfficiencyScore

Gets the memory efficiency score (0-100).

public double EfficiencyScore { get; init; }

Property Value

double

EstimatedPeakMemory

Gets the estimated peak memory usage during kernel execution.

public long EstimatedPeakMemory { get; init; }

Property Value

long

IsMemorySafe

Gets whether the memory access patterns are safe.

public bool IsMemorySafe { get; set; }

Property Value

bool

Issues

Gets the list of memory issues found.

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

Property Value

Collection<MemoryIssue>

KernelName

Gets the name of the kernel that was analyzed.

public string KernelName { get; init; }

Property Value

string

Recommendations

Gets the list of recommendations for memory optimization.

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

Property Value

Collection<string>

TotalInputMemory

Gets the total memory used by input data.

public long TotalInputMemory { get; set; }

Property Value

long