std1.0.0-beta-7 SafeC docs

std :: ml::device

Function std::device_sync

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

int device_sync(int device)

Waits for the device's queued work (no-op on the CPU). 1 on success.