std1.0.0-beta-7 SafeC docs

std :: ml::device

Function std::device_auto

#include <std/ml/device.h> source ยท definition

int device_auto()

The first available GPU (ROCm, CUDA, Metal, Vulkan, then WebGPU), else DEVICE_CPU; SAFEC_DEVICE in the environment picks one explicitly.