std1.0.0-beta-7 SafeC docs

std :: ml::device

Type alias std::DevAvailFn

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

typedef fn int() DevAvailFn

The dispatch table device.sc calls through (internal): one entry per GPU device, filled in by the backend's register function when the program links it.