std1.0.0-beta-7 SafeC docs

std :: simd::gemm

Function std::sgemm_serial

#include <std/simd/gemm.h> source · definition

int sgemm_serial(
    int transA,
    int transB,
    unsigned long m,
    unsigned long n,
    unsigned long k,
    float alpha,
    []const float a,
    unsigned long lda,
    []const float b,
    unsigned long ldb,
    float beta,
    []float c,
    unsigned long ldc,
)

sgemm, but always on the calling thread (no pool, no wake-ups; a vendor library, if linked, runs single-threaded): for code that is already parallel, or that must not block on other threads.