flexiblas_load_backend(3)

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

πŸ’– flexiblas_load_backend β€” the FlexiBLAS Library, bestie edition πŸ’–

okay so welcome to the flexiblas_load_backend(3) page, part of The FlexiBLAS Library man pages, and no cap this one is a little baddie. she loads a backend. that's the whole vibe. let's get into it 🫢


✨ NAME ✨

flexiblas_load_backend β€” load a backend from the FlexiBLAS configuration. periodt.


🌸 SYNOPSIS 🌸

#include <flexiblas/flexiblas_api.h>

int flexiblas_load_backend(const char * name );

Link with -lflexiblas.


πŸ¦‹ DESCRIPTION πŸ¦‹

so flexiblas_load_backend loads a backend from the FlexiBLAS configuration. literally that's the job. πŸ’…

the name parameter specifies the name of the backend inside the configuration. and bestie, if you're sitting there like "which backends even exist tho" β€” you can access the available ones via flexiblas_list. she tells you everything, she's so real for that.

except for some special backends β€” like the upcoming CUBLAS backend β€” the backend is initialized during the load. so it's doing the whole glow-up right there in the moment, no waiting room energy.

also: the name of the backend is not case sensitive. type it however you want, she's not gonna gatekeep over capital letters. lowercase girlies and uppercase girlies both eat. 😌


πŸ’œ RETURN VALUE πŸ’œ

On success, it returns the id of the loaded backend β€” which is used within a later call to flexiblas_switch to change the backend. so basically you get the golden ticket 🎟️ and you hand it to flexiblas_switch later. iconic duo behaviour, fr fr.

If the requested backend can not be found in the configuration, an error is returned. 😭 not everything can slay.


πŸ’€ ERRORS πŸ’€

All negative return values are errors and can not be used as an id for flexiblas_switch. like, do not pass a negative number into flexiblas_switch, that's not a vibe, that's a bug. 🚫


🌈 SEE ALSO 🌈

go read those too, they're all in the same friend group. 🫢


πŸŽ€ REPORTING BUGS πŸŽ€

The current information about the developers and reporting bugs can be found on the FlexiBLAS homepage.

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

if something's broken, tell them, don't suffer in silence bestie. πŸ›


πŸ‘‘ AUTHORS πŸ‘‘

Martin Koehler, Jens Saak β€” the literal main characters of this whole thing. 🫑


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.

no warranty bestie, she said what she said. use it, change it, share it β€” but don't come crying if it acts up. πŸ™ˆ

and that's the whole page! mwah πŸ’‹ this one came from M. Koehler, dated 2013-2025, and it's the flexiblas_load_backend(3) page β€” go load a backend and be the main character of your own BLAS pipeline. πŸ’œβœ¨πŸŒΈ

πŸ“¦ where this page comes from