CBLAS/src/cblas_sgemm.c(3)
π CBLAS/src/cblas_sgemm.c(3) β the LAPACK girlies' guide
okay bestie, so this is a page out of the Library Functions Manual for CBLAS/src/cblas_sgemm.c, and honestly? it's giving "auto-generated but make it fashion" β¨ like the whole thing is a single header-ish file that wraps up the single-precision general matrix multiply, and I'm kind of obsessed π«Ά
β¨ NAME β¨
CBLAS/src/cblas_sgemm.c β that's literally it, that's the name, no long dramatic subtitle, the file speaks for itself πββοΈ
πΈ SYNOPSIS πΈ
#include 'cblas.h'
#include 'cblas_f77.h'
π Macros
the little #define glue that makes the Fortran call work, no cap:
#define F77_TA &TA
#define F77_TB &TB
#define F77_M M
#define F77_N N
#define F77_K K
#define F77_lda lda
#define F77_ldb ldb
#define F77_ldc ldc
π¦ Functions
void API_SUFFIX cblas_sgemm (const CBLAS_LAYOUT layout, const
CBLAS_TRANSPOSE TransA, const CBLAS_TRANSPOSE TransB, const
CBLAS_INT M, const CBLAS_INT N, const CBLAS_INT K, const float
alpha, const float *A, const CBLAS_INT lda, const float *B, const
CBLAS_INT ldb, const float beta, float *C, const CBLAS_INT ldc)
π Macro Definition Documentation π
look at these babies, all documented one by one, alphabet-adjacent and thriving π
#define F77_K Kβ passesKstraight through to the Fortran side, lowkey just a rename but she's doing her job π#define F77_lda ldaβ same energy forlda, the leading dimension ofAπ#define F77_ldb ldbβ and here'sldb, leading dimension ofBπ§#define F77_ldc ldcβ plusldc, leading dimension ofC, the whole trio ate π#define F77_M MβMgoes through, unchanged, iconic β¨#define F77_N NβNtoo, matching set, periodt π#define F77_TA &TAβ ooh this one takes the address ofTA, note the&, because that's how the transpose flag gets passed along π₯#define F77_TB &TBβ and same forTB, address-of,&TB, matching bestie behaviour π«Ά
β Function Documentation β
void API_SUFFIX cblas_sgemm (...)
here's the whole signature again, laid out all pretty, every single parameter present and accounted for, because we do not skip details in this house π€
void API_SUFFIX cblas_sgemm (const CBLAS_LAYOUT layout, const
CBLAS_TRANSPOSE TransA, const CBLAS_TRANSPOSE TransB, const CBLAS_INT M,
const CBLAS_INT N, const CBLAS_INT K, const float alpha, const float *
A, const CBLAS_INT lda, const float * B, const CBLAS_INT ldb, const
float beta, float * C, const CBLAS_INT ldc)
and the receipts π§Ύ:
Definition at line 12 of file cblas_sgemm.c.
like, line 12, that's where it lives, that's the address, iykyk π
π Author π
not a human, not a person, not even a girlie β this one was:
Generated automatically by Doxygen for LAPACK from the source code.
so if you were about to @ someone and thank them for writing this by hand? don't π it was Doxygen. it was always Doxygen. the machine ate and left no crumbs π€β¨
and that's the whole page bestie, no notes, no cap π
tiny reminder: everything above is exactly what the page says β same macros, same signature, same line number, same author line β I just gave it a wardrobe upgrade π
signing off from LAPACK, Version 3.12.0 π¦ this was CBLAS/src/cblas_sgemm.c(3) and she served πΈ mwah π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms