Class MetalMemoryOrderingConfiguration
- Namespace
- DotCompute.Backends.Metal.Memory
- Assembly
- DotCompute.Backends.Metal.dll
Configuration for Metal memory ordering provider.
public sealed class MetalMemoryOrderingConfiguration
- Inheritance
-
MetalMemoryOrderingConfiguration
- Inherited Members
Properties
EnableProfiling
Gets or sets whether to enable memory ordering profiling. Default: false (minimal overhead).
public bool EnableProfiling { get; set; }
Property Value
MaxOptimizationPasses
Gets or sets the maximum fence optimization passes. Default: 3 (balance between optimization and compile time).
public int MaxOptimizationPasses { get; set; }
Property Value
OptimizeFencePlacement
Gets or sets whether to optimize fence placement. Default: true (removes redundant fences).
public bool OptimizeFencePlacement { get; set; }
Property Value
ValidateFenceInsertions
Gets or sets whether to validate fence insertions. Default: true (ensures correctness).
public bool ValidateFenceInsertions { get; set; }