std1.0.0-beta-7 SafeC docs

Module ml::device_webgpu

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

the WebGPU device backend's interface (device_webgpu.sc): the static backend interface device.h describes, plus the few calls gpu_webgpu.h's host-array API makes on the same device, queue and kernels. Programs reach the backend through device.h (the webgpu feature, DEVICE_WEBGPU); this header is for gpu_webgpu.sc.

Structs

WebGpuBackendHandles are byte offsets into the backend's one device heap (never 0), with device.h's element-type tag in the top bits.