flexiblas_load_backend_library - Man Page

load a backend from a shared library.

Synopsis

#include <flexiblas/flexiblas_api.h>

int flexiblas_load_backend_library(const char * libname );

Link with -lflexiblas.

Description

flexiblas_load_backend_library loads a backend from a shared library. The libname parameter specifies either a relative or an absolute path of a shared library containing a BLAS implementation. Except of some special backends, like the upcoming CUBLAS backend the backend is initialized during the load.

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.

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

Errors

All negative return values are errors and can not be used as an id for flexiblas_switch.

See Also

flexiblas_list_loaded(3), flexiblas_list(3), flexiblas_load_backend(3), flexiblas_switch(3)

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>

Authors

Martin Koehler, Jens Saak

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.

Referenced By

flexiblas_load_backend(3), flexiblas_switch(3).

2013-2022 M. Koehler The FlexiBLAS Library