std1.0.0-beta-7 SafeC docs

std :: ml::device

Macro DEVICE_AUTO

#include <std/ml/device.h> source

#define DEVICE_AUTO (-1)

What device_default() returns: set with device_set_default (a device that isn't available falls back to device_auto()), DEVICE_AUTO (-1) to go back to automatic selection.