std1.0.0-beta-7 SafeC docs

std :: ml::gpu_cuda

Function std::cuda_matmul_f32

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

int cuda_matmul_f32(
    []const float a,
    []const float b,
    []float out,
    unsigned long M,
    unsigned long K,
    unsigned long N,
)

out[M,N] = a[M,K] * b[K,N] with this library's own tiled CUDA kernel (64x64 tiles in shared memory, 4x4 per thread). Kept as a dependency-free reference; cuda_matmul_f32_blas is faster at every size.