Class CudaGraphOptimizationOptions
- Namespace
- DotCompute.Backends.CUDA.Configuration
- Assembly
- DotCompute.Backends.CUDA.dll
Configuration options for CUDA graph optimization. Controls various optimization strategies and target architectures.
public sealed class CudaGraphOptimizationOptions
- Inheritance
-
CudaGraphOptimizationOptions
- Inherited Members
Properties
EnableKernelFusion
Gets or sets whether kernel fusion is enabled. Kernel fusion combines multiple operations to reduce memory traffic.
public bool EnableKernelFusion { get; set; }
Property Value
EnableOptimization
Gets or sets whether optimization is enabled for the graph. When false, graphs are executed without any transformations.
public bool EnableOptimization { get; set; }
Property Value
OptimizationLevel
Gets or sets the optimization level for graph transformations. Higher levels provide more aggressive optimizations.
public CudaGraphOptimizationLevel OptimizationLevel { get; set; }
Property Value
TargetArchitecture
Gets or sets the target GPU architecture for optimization. Optimizations are tailored to specific architecture capabilities.
public CudaArchitecture TargetArchitecture { get; set; }