Enum AcceleratorType
- Namespace
- DotCompute.Abstractions
- Assembly
- DotCompute.Abstractions.dll
Defines the type of accelerator device.
public enum AcceleratorType
Fields
Auto = -1Auto-detect the best available accelerator.
CPU = 1CPU-based computation.
CUDA = 2NVIDIA CUDA GPU.
Custom = 100Custom or unknown accelerator type.
DirectCompute = 8DirectCompute-compatible device.
DirectML = 7DirectML-compatible device.
FPGA = 10Field-Programmable Gate Array.
GPU = 9Generic GPU device.
Metal = 5Apple Metal GPU.
None = 0None
OneAPI = 4Intel oneAPI GPU.
OpenCL = 6OpenCL-compatible device.
ROCm = 3AMD ROCm GPU.
TPU = 11Tensor Processing Unit.