GpuDeviceType
Enums · AiDotNet.Engines
GPU device type for acceleration.
For Beginners
Different GPU types work with different graphics cards:
- Auto: Automatically select best available (CUDA → OpenCL → HIP → CPU)
- CUDA: NVIDIA GPUs only (GeForce, RTX, Quadro, Tesla, A100, H100)
- OpenCL: Cross-platform (AMD, Intel, NVIDIA, Apple)
- CPU: Force CPU-only execution (no GPU)
Fields
| Field | Summary |
|---|---|
GpuDeviceType Auto |
Automatically select best available GPU (CUDA → OpenCL → HIP → CPU). |
GpuDeviceType CPU |
Force CPU-only execution (no GPU acceleration). |
GpuDeviceType CUDA |
NVIDIA CUDA (GeForce, RTX, Quadro, Tesla, A100, H100). |
GpuDeviceType OpenCL |
OpenCL (AMD, Intel, NVIDIA, Apple - cross-platform). |
int value__ |