std1.0.0-beta-7 SafeC docs

std :: ml::gpu_mps

Macro MPS_FP16

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

#define MPS_FP16 1

Element types of a buffer (MpsBuf.dtype) and of the attention ops' dtype argument: 0 = fp32, or raw 16-bit values.

same values as gpu_cuda.h's CUDA_FP16 / CUDA_BF16