C_SBLAS3.C(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸ’… CBLAS/testing/c_sblas3.c(3) β€” Library Functions Manual, section 3, bestie

okay so picture this: it's section 3 of the Library Functions Manual, the file is CBLAS/testing/c_sblas3.c, and it's literally the C-side test harness for the single-precision (float) Level-3 BLAS routines. it's giving "glue code that makes sure your gemm doesn't lie to you" πŸ’–


✨ NAME ✨

CBLAS/testing/c_sblas3.c β€” that's the whole name, no cap. that's the file, that's the vibe. 🫢


🌸 SYNOPSIS 🌸

the includes, exactly as they appear (yes, those last two are single-quoted, don't come for me, that's what it says):

#include <stdio.h>
#include <stdlib.h>
#include 'cblas.h'
#include 'cblas_test.h'

πŸŽ€ Functions

here's the whole squad of F77_ wrappers, signatures verbatim:

void F77_sgemm (CBLAS_INT *layout, char *transpa, char *transpb,
    CBLAS_INT *m, CBLAS_INT *n, CBLAS_INT *k, float *alpha, float *a,
    CBLAS_INT *lda, float *b, CBLAS_INT *ldb, float *beta, float *c,
    CBLAS_INT *ldc)
void F77_sgemmtr (CBLAS_INT *layout, char *uplop, char *transpa, char
    *transpb, CBLAS_INT *n, CBLAS_INT *k, float *alpha, float *a,
    CBLAS_INT *lda, float *b, CBLAS_INT *ldb, float *beta, float *c,
    CBLAS_INT *ldc)
void F77_ssymm (CBLAS_INT *layout, char *rtlf, char *uplow, CBLAS_INT
    *m, CBLAS_INT *n, float *alpha, float *a, CBLAS_INT *lda, float *b,
    CBLAS_INT *ldb, float *beta, float *c, CBLAS_INT *ldc)
void F77_ssyrk (CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT
    *n, CBLAS_INT *k, float *alpha, float *a, CBLAS_INT *lda, float
    *beta, float *c, CBLAS_INT *ldc)
void F77_ssyr2k (CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT
    *n, CBLAS_INT *k, float *alpha, float *a, CBLAS_INT *lda, float *b,
    CBLAS_INT *ldb, float *beta, float *c, CBLAS_INT *ldc)
void F77_strmm (CBLAS_INT *layout, char *rtlf, char *uplow, char
    *transp, char *diagn, CBLAS_INT *m, CBLAS_INT *n, float *alpha,
    float *a, CBLAS_INT *lda, float *b, CBLAS_INT *ldb)
void F77_strsm (CBLAS_INT *layout, char *rtlf, char *uplow, char
    *transp, char *diagn, CBLAS_INT *m, CBLAS_INT *n, float *alpha,
    float *a, CBLAS_INT *lda, float *b, CBLAS_INT *ldb)

πŸ”₯ Function Documentation πŸ”₯

this is the part where doxygen went full main-character and documented each one with the exact line it lives on. every single one, in the order they appear. slay. ✨

πŸ’œ void F77_sgemm (...)

void F77_sgemm (CBLAS_INT * layout, char * transpa, char * transpb,
    CBLAS_INT * m, CBLAS_INT * n, CBLAS_INT * k, float * alpha, float * a,
    CBLAS_INT * lda, float * b, CBLAS_INT * ldb, float * beta, float * c,
    CBLAS_INT * ldc)

Definition at line 12 of file c_sblas3.c. πŸ“

πŸ’œ void F77_sgemmtr (...)

void F77_sgemmtr (CBLAS_INT * layout, char * uplop, char * transpa, char *
    transpb, CBLAS_INT * n, CBLAS_INT * k, float * alpha, float * a,
    CBLAS_INT * lda, float * b, CBLAS_INT * ldb, float * beta, float * c,
    CBLAS_INT * ldc)

Definition at line 78 of file c_sblas3.c. πŸ“

πŸ’œ void F77_ssymm (...)

void F77_ssymm (CBLAS_INT * layout, char * rtlf, char * uplow, CBLAS_INT *
    m, CBLAS_INT * n, float * alpha, float * a, CBLAS_INT * lda, float * b,
    CBLAS_INT * ldb, float * beta, float * c, CBLAS_INT * ldc)

Definition at line 153 of file c_sblas3.c. πŸ“

πŸ’œ void F77_ssyr2k (...)

void F77_ssyr2k (CBLAS_INT * layout, char * uplow, char * transp, CBLAS_INT
    * n, CBLAS_INT * k, float * alpha, float * a, CBLAS_INT * lda, float *
    b, CBLAS_INT * ldb, float * beta, float * c, CBLAS_INT * ldc)

Definition at line 263 of file c_sblas3.c. πŸ“

πŸ’œ void F77_ssyrk (...)

void F77_ssyrk (CBLAS_INT * layout, char * uplow, char * transp, CBLAS_INT *
    n, CBLAS_INT * k, float * alpha, float * a, CBLAS_INT * lda, float *
    beta, float * c, CBLAS_INT * ldc)

Definition at line 211 of file c_sblas3.c. πŸ“

fr fr yes, ssyr2k shows up before ssyrk here even though its line number is higher β€” that's just the order the page lists them in, and I'm not about to rearrange the manpage's whole aesthetic. πŸ™ˆ

πŸ’œ void F77_strmm (...)

void F77_strmm (CBLAS_INT * layout, char * rtlf, char * uplow, char *
    transp, char * diagn, CBLAS_INT * m, CBLAS_INT * n, float * alpha, float
    * a, CBLAS_INT * lda, float * b, CBLAS_INT * ldb)

Definition at line 322 of file c_sblas3.c. πŸ“

πŸ’œ void F77_strsm (...)

void F77_strsm (CBLAS_INT * layout, char * rtlf, char * uplow, char *
    transp, char * diagn, CBLAS_INT * m, CBLAS_INT * n, float * alpha, float
    * a, CBLAS_INT * lda, float * b, CBLAS_INT * ldb)

Definition at line 377 of file c_sblas3.c. πŸ“


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code. πŸ€–πŸ’– like, nobody hand-wrote this, the machine did it, and honestly? it ate.


πŸ¦‹ the cute sign-off πŸ¦‹

this page is brought to you by LAPACK, Version 3.12.0, and the fine folks at CBLAS/testing/c_sblas3.c(3) β€” that's the date-ish thing sitting right there in the footer, so consider it mentioned. go forth and test your single-precision Level-3 BLAS, bestie, you've got this. πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from