std1.0.0-beta-7 SafeC docs

std :: ml::device

Macro DEVK_PTRS

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

#define DEVK_PTRS 8

A device kernel launch: the kernel (DK_* in device_kernels.h), how many threads (one per element unless the kernel says otherwise), and its arguments: device buffers, integers and floats, passed to the kernel as one struct (the same layout on every backend).