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.