Enum ExecutionStrategyType
- Namespace
- DotCompute.Abstractions.Types
- Assembly
- DotCompute.Abstractions.dll
Defines the type of execution strategy for kernel and pipeline execution.
public enum ExecutionStrategyType
Fields
Adaptive = 6Adaptive execution - strategy chosen based on workload characteristics.
Batch = 8Batch execution - processes data in batches for efficiency.
DataParallel = 2Data parallel execution - data is split across multiple execution units.
Heterogeneous = 11Heterogeneous CPU+GPU execution. Coordinates execution across different types of computing devices (CPUs and GPUs). Maximizes utilization of all available computing resources.
Hybrid = 5Hybrid execution - combines multiple strategies adaptively.
ModelParallel = 3Model parallel execution - model is split across multiple devices.
Parallel = 1Parallel execution - tasks run concurrently where possible.
PipelineParallel = 4Pipeline parallel execution - different stages run on different devices.
Sequential = 0Sequential execution - tasks run one after another.
Single = 9Single device execution strategy. Executes the entire workload on a single computing device without parallelization. Best for small workloads or when device resources are limited.
Streaming = 7Streaming execution - continuous processing of data streams.
WorkStealing = 10Dynamic work stealing for load balancing. Allows idle devices to steal work from busy devices to maintain optimal load distribution. Best for workloads with irregular or unpredictable execution times.