std :: ml::gpu_rocm
Function std::rocm_matmul_f32
int rocm_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 HIP kernel (64x64 tiles in LDS, 4x4 per thread). Kept as a dependency-free reference; rocm_matmul_f32_blas is several times faster at every size.