flexiblas-api(7)
β¨ flexiblas-api β¨ β the FlexiBLAS API overview, bestie edition π
okay so real talk, this is a page from the flexiblas-api(7) manual β yes it's section 7, we're in the big-kid section now β and it's all about the FlexiBLAS library's extra little API. sit down, grab a boba, we're doing this π§
πΈ SYNOPSIS πΈ
#include <flexiblas/flexiblas_api.h>
that's it. one include and you're in, no cap π«Ά
π DESCRIPTION π
so the FlexiBLAS library doesn't just do the BLAS interface β it also serves an additional API on the side. and bestie, this interface is giving main character energy because it lets you switch up the number of threads during the runtime, or even completely swap out the backend you're using. mid-run. iconic.
the functions are categorized into three sections, and we're going through every single one, no skipping π
β Information Functions β
the "just tell me what's going on" girlies, we love them:
flexiblas_getversion(3) β Version informationflexiblas_print_loaded_backends(3) β Print information about loaded backends.flexiblas_print_avail_backends(3) β Print information about the available backends.flexiblas_print_current_backend(3) β Print the currently loaded backend.
π¦ Backend Management Functions π¦
the ones doing the actual heavy lifting, the CEOs fr:
flexiblas_list(3) β Retrieve a list of all available backends.flexiblas_list_loaded(3) β Retrieve a list of all loaded backends.flexiblas_load_backend(3) β Load a backends from the FlexiBLAS configuration.flexiblas_load_backend_library(3) β Load a backends from a shared library.flexiblas_switch(3) β Switch to a previously loaded backend.flexiblas_current_backend(3) β Return the name of the currently loaded backend.
π Interfaces Into The Backend π
threads, threads, threads β the way that these two just handle it:
flexiblas_set_num_threads(3) β Change the number of threads in the backend used for computation.flexiblas_get_num_threads(3) β Get the number of threads in the backend used for computation.
π REPORTING BUGS π
found a bug? not me manifesting that for you, but if it happens: the current information about the developers and about reporting bugs lives on the FlexiBLAS homepage. go touch grass there, it's cute:
FlexiBLAS Homepage: <http://www.mpi-magdeburg.mpg.de/projects/flexiblas>
π AUTHORS π
Martin Koehler, Jens Saak
(legends, honestly π)
π SEE ALSO π
- M. Koehler and J. Saak, FlexiBLAS - A flexible BLAS library with runtime exchangeable backends, LAPACK Working Note 284, 2013
and also:
π COPYRIGHT π
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. read that last part again. NO WARRANTY, to the extent permitted by law. it's not being dramatic, it's just the law. π
M. Koehler Β· 2013-2025 Β· flexiblas-api(7) β and that's the whole page, we ate and left absolutely no crumbs, periodt π
β¨π
π¦ where this page comes from
- fedora 43: flexiblas-devel 3.4.5-5.fc43 Β· LGPL-3.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause-Open-MPI
- fedora 43: flexiblas-devel 3.4.5-5.fc43 Β· LGPL-3.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause-Open-MPI
- fedora 43: flexiblas-devel 3.5.0-1.fc43 Β· LGPL-3.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause-Open-MPI
- fedora 43: flexiblas-devel 3.5.0-1.fc43 Β· LGPL-3.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause-Open-MPI
- fedora 44: flexiblas-devel 3.5.0-2.fc44 Β· LGPL-3.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause-Open-MPI
- fedora 44: flexiblas-devel 3.5.0-2.fc44 Β· LGPL-3.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms