flexiblas_current_backend(3)

πŸ“¦
version 3.5.0 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– flexiblas_current_backend(3) πŸ’–

okay bestie, welcome to the FlexiBLAS corner of the manual β€” this one's flexiblas_current_backend(3), straight from The FlexiBLAS Library, and it's literally the "who am I talking to rn" function. no cap. πŸ¦‹


✨ NAME ✨

flexiblas_current_backend β€” return the name of the currently used backend.

like... it tells you which backend is the main character right now. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <flexiblas/flexiblas_api.h>

int flexiblas_current_backend(char * name, size_t *len );

and don't forget, bestie:

Link with -lflexiblas.


πŸ’… DESCRIPTION πŸ’…

okay so here's the tea πŸ“ β€” flexiblas_current_backend copies the name of the currently loaded backend into the buffer that name points at, and the length of that buffer is len.

but wait, there's a plot twist 😭 β€” if the name is longer than the buffer, only the first len-1 characters get copied. she said "I'll give you what fits, no more." iconic honestly.


πŸŽ€ RETURN VALUE πŸŽ€

on success? you get the length of the backend's name, determined by strlen. slay. πŸ’–


πŸ”₯ ERRORS πŸ”₯

No errors occur.

literally nothing can go wrong here. the vibes are immaculate. no notes. ✨


πŸ‘€ SEE ALSO πŸ‘€

go read those too, iykyk 🫢


πŸ› REPORTING BUGS πŸ›

the current info about the developers and how to report bugs lives on the FlexiBLAS homepage β€” that's where you drop the receipts.

FlexiBLAS Homepage: <http://www.mpi-magdeburg.mpg.de/projects/flexiblas>


πŸ‘‘ AUTHORS πŸ‘‘

Martin Koehler, Jens Saak


Copyright (C) 2013-2025 Martin Koehler


πŸ“œ LICENSE πŸ“œ

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

bestie that NO WARRANTY is in all caps for a reason 😭 it's giving "use at your own risk, respectfully."

M. Koehler Β· 2013-2025 Β· flexiblas_current_backend(3) β€” mwah, that's the whole page, tysm for reading, go call your backend and tell her she's doing amazing πŸ’œπŸ§š

πŸ“¦ where this page comes from