flexiblas_get_version(3)

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

πŸ’– flexiblas_get_version(3) β€” bestie edition πŸ’–

okay so this page lives in The FlexiBLAS Library manual, and the header on it says flexiblas_get_version(3) β€” but the star of the show inside is literally flexiblas_avail, iykyk. anyway. sit down, grab a strawberry πŸ“, and let's talk about checking whether FlexiBLAS is even there.


✨ NAME ✨

flexiblas_avail β€” no cap, this is the "are you there bestie?" check for FlexiBLAS in the current namespace.


🌸 SYNOPSIS 🌸

#include <flexiblas/flexiblas_api.h>

int flexiblas_avail();

and when you link it, link with -lflexiblas or -lflexiblas_api. pick your fighter πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so flexiblas_avail returns true if FlexiBLAS is available in the current shared library namespace, and false if it's not. that's the whole vibe.

the way this slaps is: you can use it to check whether the BLAS library actually in use is FlexiBLAS or not β€” specifically in an update-alternative environment. so even if the BLAS implementation got switched around by update-alternative, you can still write applications that use FlexiBLAS features and just, like, ask first. main character energy: verify, then flex. πŸ‘‘


πŸ’œ RETURN VALUE πŸ’œ

  • True (!=0) β€” FlexiBLAS is available, periodt. πŸŽ€
  • False (=0) β€” nope, not available. 😭

🌈 ERRORS 🌈

literally none. no errors occur. not a single one. flawless behavior fr fr. ✨


πŸ™ˆ REPORTING BUGS πŸ™ˆ

the current info about the developers and about reporting bugs lives on the FlexiBLAS homepage, so go look there:

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.

no warranty bestie, that's the deal, don't come for me 🫢

and that's the whole page, mwah πŸ’‹ β€” signed off from the M. Koehler corner of the group chat, dated 2013-2025, filed under flexiblas_get_version(3) because that's what the footer said and we respect the footer. πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from