Enum DeviceType
Enumerates device types used for compute/graphics processing.
public enum DeviceType
Fields
Undefined = -1
The device type is unspecified or unknown.
Cpu = 0
A CPU device that uses system (host) memory for processing.
Gpu = 1
A discrete GPU device that uses dedicated graphics memory for processing.
IntegratedGpu = 2
An integrated GPU device that uses host memory.
Accelerator = 3
A hardware accelerator device intended to be used together with the CPU backend (e.g., BLAS or AMX).