std1.0.0-beta-7 SafeC docs

std :: ml::gpu_mps

Function std::mps_batch_submit

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

void mps_batch_submit()

Commits what the open batch has encoded so far without waiting and keeps the batch open: the GPU starts on that work while the caller encodes the next. The command buffers run in order on the one queue, and mps_batch_end() still waits for all of them (a trainer submits every few steps of an epoch and waits once at its end). No-op without a batch.