std :: ml::device
Function std::device_auto
int device_auto()The first available GPU (ROCm, CUDA, Metal, Vulkan, then WebGPU), else DEVICE_CPU; SAFEC_DEVICE in the environment picks one explicitly.
std :: ml::device
int device_auto()The first available GPU (ROCm, CUDA, Metal, Vulkan, then WebGPU), else DEVICE_CPU; SAFEC_DEVICE in the environment picks one explicitly.