Configuring the BLAS interface

Basic Linear Algebra Subroutines (BLAS) interface

Basic Linear Algebra Subroutines (BLAS) interface

Prev: | BLAS interface matrix operations |

The Basic Linear Algebra Subroutines (BLAS) interface chooses the underlying BLAS interface to use based on the values of the following global variables:

The interface attempts to set default values based on the ones encountered on the Factor project's build machines. If these settings don't work with your system's BLAS, or you wish to use a commercial BLAS, you may change the global values of those variables in your Startup initialization file. For example, to use AMD's ACML library on Windows with math.blas, your .factor-rc would look like this:

To take effect, the blas-library and blas-fortran-abi variables must be set before any other math.blas vocabularies are loaded.

blas-library

blas-fortran-abi

deploy-blas?

The interface attempts to set default values based on the ones encountered on the Factor project's build machines. If these settings don't work with your system's BLAS, or you wish to use a commercial BLAS, you may change the global values of those variables in your Startup initialization file. For example, to use AMD's ACML library on Windows with math.blas, your .factor-rc would look like this:

USING: math.blas.config namespaces ;
"X:\path\to\acml.dll" blas-library set-global
intel-windows-abi blas-fortran-abi set-global
t deploy-blas? set-global

To take effect, the blas-library and blas-fortran-abi variables must be set before any other math.blas vocabularies are loaded.

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.100 x86.64 (2250, heads/master-3623a4e0d7, Nov 15 2023 18:16:06)