Class MetalResourceLimits
- Namespace
- DotCompute.Backends.Metal.Execution.Graph.Configuration
- Assembly
- DotCompute.Backends.Metal.dll
Defines resource limits for Metal compute graph execution.
public class MetalResourceLimits
- Inheritance
-
MetalResourceLimits
- Inherited Members
Properties
MaxBlitEncoders
Gets or sets the maximum number of active blit command encoders.
public int MaxBlitEncoders { get; set; }
Property Value
MaxCommandBuffers
Gets or sets the maximum number of active command buffers.
public int MaxCommandBuffers { get; set; }
Property Value
MaxComputeEncoders
Gets or sets the maximum number of active compute command encoders.
public int MaxComputeEncoders { get; set; }
Property Value
MaxGpuMemoryBytes
Gets or sets the maximum GPU memory usage in bytes.
public long MaxGpuMemoryBytes { get; set; }
Property Value
MaxKernelArguments
Gets or sets the maximum number of kernel arguments.
public int MaxKernelArguments { get; set; }
Property Value
MaxThreadgroupMemoryBytes
Gets or sets the maximum threadgroup memory usage per kernel.
public uint MaxThreadgroupMemoryBytes { get; set; }
Property Value
Methods
Validate()
Validates the resource limits.
public IReadOnlyList<string> Validate()
Returns
- IReadOnlyList<string>
A list of validation errors.