std1.0.0-beta-7 SafeC docs

std :: ml::device

Function std::device_available

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

int device_available(int device)

1 if the backend is compiled in and a GPU is present (initializes it).