std1.0.0-beta-7 SafeC docs

std :: ml::gpu_webgpu

Function std::webgpu_add_f32

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

int webgpu_add_f32([]const float a, []const float b, []float out)

out[i] = a[i] op b[i] (or op a[i]) for i in [0, n): the inputs uploaded, the op run, the result read back. 1 = done, 0 = no WebGPU (out untouched).