Table of Contents

Enum GpuDeviceType

Namespace
AiDotNet.Engines
Assembly
AiDotNet.dll

GPU device type for acceleration.

public enum GpuDeviceType

Fields

Auto = 0

Automatically select best available GPU (CUDA → OpenCL → HIP → CPU).

CPU = 3

Force CPU-only execution (no GPU acceleration).

CUDA = 1

NVIDIA CUDA (GeForce, RTX, Quadro, Tesla, A100, H100).

OpenCL = 2

OpenCL (AMD, Intel, NVIDIA, Apple - cross-platform).

Remarks

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)