Table of Contents

Class ThreadgroupSizeValidation

Namespace
DotCompute.Backends.Metal.Kernels
Assembly
DotCompute.Backends.Metal.dll

Result of threadgroup size validation.

public sealed record ThreadgroupSizeValidation : IEquatable<ThreadgroupSizeValidation>
Inheritance
ThreadgroupSizeValidation
Implements
Inherited Members

Properties

IsValid

Whether the user size is valid.

public required bool IsValid { get; init; }

Property Value

bool

RecommendedSize

Recommended optimal size.

public required (int x, int y, int z) RecommendedSize { get; init; }

Property Value

(int x, int y, int z)

ShouldOverride

Whether the optimizer should override the user size.

public required bool ShouldOverride { get; init; }

Property Value

bool

Warning

Warning message if size is suboptimal.

public required string? Warning { get; init; }

Property Value

string