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
RecommendedSize
Recommended optimal size.
public required (int x, int y, int z) RecommendedSize { get; init; }
Property Value
ShouldOverride
Whether the optimizer should override the user size.
public required bool ShouldOverride { get; init; }
Property Value
Warning
Warning message if size is suboptimal.
public required string? Warning { get; init; }