All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Variables
System settings

Macros

#define BLAZE_BLAS_MODE   0
 Compilation switch for the BLAS mode.This compilation switch enables/disables the BLAS mode. In case the BLAS mode is enabled, several basic linear algebra functions (such as for instance matrix-matrix multiplications between two dense matrices) are handled by performance optimized BLAS functions. Note that in this case it is mandatory to provide the according BLAS header file for the compilation of the Blaze library. In case the BLAS mode is disabled, all linear algebra functions use the default implementations of the Blaze library and therefore BLAS is not a requirement for the compilation process. More...
 
#define BLAZE_BLAS_IS_PARALLEL   0
 Compilation switch for the parallel BLAS mode.This compilation switch specifies whether the used BLAS library is itself parallelized or not. In case the given BLAS library is itself parallelized, the Blaze library does not perform any attempt to parallelize the execution of BLAS kernels. If, however, the given BLAS library is not parallelized Blaze will attempt to parallelize the execution of BLAS kernels. More...
 
#define BLAZE_OPENMP_PARALLEL_MODE   0
 Compilation switch for the OpenMP parallelization.This compilation switch enables/disables the OpenMP parallelization. In case OpenMP is enabled during compilation the Blaze library attempts to parallelize all matrix and vector computations. In case OpenMP is not enabled, all computations are performed on a single compute core.
 
#define BLAZE_RESTRICT
 Platform dependent setup of the restrict keyword.
 
#define BLAZE_SIGNATURE   "Unknown function"
 Platform dependent setup of the type/function signature macro.This macro contains the signature of the function the macro is used in. Note that the macro must only be used inside a function!
 
#define BLAZE_SSE_MODE   0
 Compilation switch for the SSE mode.This compilation switch enables/disables the SSE mode. In case the SSE mode is enabled (i.e. in case SSE functionality is available) the Blaze library attempts to vectorize the linear algebra operations by SSE intrinsics. In case the SSE mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_SSE2_MODE   0
 Compilation switch for the SSE2 mode.This compilation switch enables/disables the SSE2 mode. In case the SSE2 mode is enabled (i.e. in case SSE2 functionality is available) the Blaze library attempts to vectorize the linear algebra operations by SSE2 intrinsics. In case the SSE2 mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_SSE3_MODE   0
 Compilation switch for the SSE3 mode.This compilation switch enables/disables the SSE3 mode. In case the SSE3 mode is enabled (i.e. in case SSE3 functionality is available) the Blaze library attempts to vectorize the linear algebra operations by SSE3 intrinsics. In case the SSE3 mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_SSSE3_MODE   0
 Compilation switch for the SSSE3 mode.This compilation switch enables/disables the SSSE3 mode. In case the SSSE3 mode is enabled (i.e. in case SSSE3 functionality is available) the Blaze library attempts to vectorize the linear algebra operations by SSSE3 intrinsics. In case the SSSE3 mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_SSE4_MODE   0
 Compilation switch for the SSE4 mode.This compilation switch enables/disables the SSE4 mode. In case the SSE4 mode is enabled (i.e. in case SSE4 functionality is available) the Blaze library attempts to vectorize the linear algebra operations by SSE4 intrinsics. In case the SSE4 mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_AVX_MODE   0
 Compilation switch for the AVX mode.This compilation switch enables/disables the AVX mode. In case the AVX mode is enabled (i.e. in case AVX functionality is available) the Blaze library attempts to vectorize the linear algebra operations by AVX intrinsics. In case the AVX mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_AVX2_MODE   0
 Compilation switch for the AVX2 mode.This compilation switch enables/disables the AVX2 mode. In case the AVX2 mode is enabled (i.e. in case AVX2 functionality is available) the Blaze library attempts to vectorize the linear algebra operations by AVX2 intrinsics. In case the AVX2 mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_MIC_MODE   0
 Compilation switch for the MIC mode.This compilation switch enables/disables the MIC mode. In case the MIC mode is enabled (i.e. in case MIC functionality is available) the Blaze library attempts to vectorize the linear algebra operations by MIC intrinsics. In case the MIC mode is disabled, the Blaze library chooses default, non-vectorized functionality for the operations.
 
#define BLAZE_MAJOR_VERSION   2
 Major version of the Blaze library.This value corresponds to the major version of the Blaze library. For instance, for Blaze version 2.0, the BLAZE_MAJOR_VERSION corresponds to 2.
 
#define BLAZE_MINOR_VERSION   0
 Minor version of the Blaze library.This value corresponds to the minor version of the Blaze library. For instance, for Blaze version 2.0, the BLAZE_MINOR_VERSION corresponds to 0.
 

Variables

const size_t blaze::SMP_DVECASSIGN_THRESHOLD = OPENMP_DVECASSIGN_THRESHOLD
 SMP dense vector assignment threshold.This threshold represents the system-specific threshold for a parallel assignment of a plain dense vector. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DVECDVECADD_THRESHOLD = OPENMP_DVECDVECADD_THRESHOLD
 SMP dense vector/dense vector addition threshold.This threshold represents the system-specific threshold for a parallel dense vector/dense vector addition. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DVECDVECSUB_THRESHOLD = OPENMP_DVECDVECSUB_THRESHOLD
 SMP dense vector/dense vector subtraction threshold.This threshold represents the system-specific threshold for a parallel dense vector/dense vector subtraction. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DVECDVECMULT_THRESHOLD = OPENMP_DVECDVECMULT_THRESHOLD
 SMP dense vector/dense vector multiplication threshold.This threshold represents the system-specific threshold for a parallel dense vector/dense vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DVECSCALARMULT_THRESHOLD = OPENMP_DVECSCALARMULT_THRESHOLD
 SMP dense vector/scalar multiplication/division threshold.This threshold represents the system-specific threshold for a parallel dense vector/scalar multiplication/division. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATDVECMULT_THRESHOLD = OPENMP_DMATDVECMULT_THRESHOLD
 SMP row-major dense matrix/dense vector multiplication threshold.This threshold represents the system-specific threshold for a parallel dense matrix/dense vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDMATDVECMULT_THRESHOLD = OPENMP_TDMATDVECMULT_THRESHOLD
 SMP column-major dense matrix/dense vector multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major dense matrix/dense vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDVECDMATMULT_THRESHOLD = OPENMP_TDVECDMATMULT_THRESHOLD
 SMP dense vector/row-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel dense vector/row-major dense matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDVECTDMATMULT_THRESHOLD = OPENMP_TDVECTDMATMULT_THRESHOLD
 SMP dense vector/column-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel dense vector/column-major dense matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATSVECMULT_THRESHOLD = OPENMP_DMATSVECMULT_THRESHOLD
 SMP row-major dense matrix/sparse vector multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/sparse vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDMATSVECMULT_THRESHOLD = OPENMP_TDMATSVECMULT_THRESHOLD
 SMP column-major dense matrix/sparse vector multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major dense matrix/sparse vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSVECDMATMULT_THRESHOLD = OPENMP_TSVECDMATMULT_THRESHOLD
 SMP sparse vector/row-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel sparse vector/row-major dense matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSVECTDMATMULT_THRESHOLD = OPENMP_TSVECTDMATMULT_THRESHOLD
 SMP sparse vector/column-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel sparse vector/column-major dense matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_SMATDVECMULT_THRESHOLD = OPENMP_SMATDVECMULT_THRESHOLD
 SMP row-major sparse matrix/dense vector multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major sparse matrix/dense vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSMATDVECMULT_THRESHOLD = OPENMP_TSMATDVECMULT_THRESHOLD
 SMP column-major sparse matrix/dense vector multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major sparse matrix/dense vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDVECSMATMULT_THRESHOLD = OPENMP_TDVECSMATMULT_THRESHOLD
 SMP dense vector/row-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel dense vector/row-major sparse matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDVECTSMATMULT_THRESHOLD = OPENMP_TDVECTSMATMULT_THRESHOLD
 SMP dense vector/column-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel dense vector/column-major sparse matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_SMATSVECMULT_THRESHOLD = OPENMP_SMATSVECMULT_THRESHOLD
 SMP row-major sparse matrix/sparse vector multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major sparse matrix/sparse vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSMATSVECMULT_THRESHOLD = OPENMP_TSMATSVECMULT_THRESHOLD
 SMP column-major sparse matrix/sparse vector multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major sparse matrix/sparse vector multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSVECSMATMULT_THRESHOLD = OPENMP_TSVECSMATMULT_THRESHOLD
 SMP sparse vector/row-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel sparse vector/row-major sparse matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSVECTSMATMULT_THRESHOLD = OPENMP_TSVECTSMATMULT_THRESHOLD
 SMP sparse vector/column-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel sparse vector/column-major sparse matrix multiplication. In case the number of elements of the target vector is larger or equal to this threshold, the operation is executed in parallel. If the number of elements is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATASSIGN_THRESHOLD = OPENMP_DMATASSIGN_THRESHOLD
 SMP dense matrix assignment threshold.This threshold represents the system-specific threshold for a parallel assignment with a plain dense matrix. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATDMATADD_THRESHOLD = OPENMP_DMATDMATADD_THRESHOLD
 SMP row-major dense matrix/row-major dense matrix addition threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/row-major dense matrix addition. This threshold affects both additions between two row-major matrices or two column-major dense matrices. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATTDMATADD_THRESHOLD = OPENMP_DMATTDMATADD_THRESHOLD
 SMP row-major dense matrix/column-major dense matrix addition threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/column-major dense matrix addition. This threshold affects both additions between a row-major matrix and a column-major matrix and a column-major matrix and a row-major matrix. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATDMATSUB_THRESHOLD = OPENMP_DMATDMATSUB_THRESHOLD
 SMP row-major dense matrix/row-major dense matrix subtraction threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/row-major dense matrix subtraction. This threshold affects both subtractions between two row-major matrices or two column-major dense matrices. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATTDMATSUB_THRESHOLD = OPENMP_DMATTDMATSUB_THRESHOLD
 SMP row-major dense matrix/column-major dense matrix subtraction threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/column-major dense matrix subtraction. This threshold affects both subtractions between a row-major matrix and a column-major matrix and a column-major matrix and a row-major matrix. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATSCALARMULT_THRESHOLD = OPENMP_DMATSCALARMULT_THRESHOLD
 SMP dense matrix/scalar multiplication/division threshold.This threshold represents the system-specific threshold for a parallel dense matrix/scalar multiplication or division can be executed in parallel. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATDMATMULT_THRESHOLD = OPENMP_DMATDMATMULT_THRESHOLD
 SMP row-major dense matrix/row-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/row-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATTDMATMULT_THRESHOLD = OPENMP_DMATTDMATMULT_THRESHOLD
 SMP row-major dense matrix/column-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/column-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDMATDMATMULT_THRESHOLD = OPENMP_TDMATDMATMULT_THRESHOLD
 SMP column-major dense matrix/row-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major dense matrix/row-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDMATTDMATMULT_THRESHOLD = OPENMP_TDMATTDMATMULT_THRESHOLD
 SMP column-major dense matrix/column-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major dense matrix/column-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATSMATMULT_THRESHOLD = OPENMP_DMATSMATMULT_THRESHOLD
 SMP row-major dense matrix/row-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/row-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DMATTSMATMULT_THRESHOLD = OPENMP_DMATTSMATMULT_THRESHOLD
 SMP row-major dense matrix/column-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major dense matrix/column-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDMATSMATMULT_THRESHOLD = OPENMP_TDMATSMATMULT_THRESHOLD
 SMP column-major dense matrix/row-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major dense matrix/row-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TDMATTSMATMULT_THRESHOLD = OPENMP_TDMATTSMATMULT_THRESHOLD
 SMP column-major dense matrix/column-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major dense matrix/column-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_SMATDMATMULT_THRESHOLD = OPENMP_SMATDMATMULT_THRESHOLD
 SMP row-major sparse matrix/row-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major sparse matrix/row-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_SMATTDMATMULT_THRESHOLD = OPENMP_SMATTDMATMULT_THRESHOLD
 SMP row-major sparse matrix/column-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major sparse matrix/column-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSMATDMATMULT_THRESHOLD = OPENMP_TSMATDMATMULT_THRESHOLD
 SMP column-major sparse matrix/row-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major sparse matrix/row-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSMATTDMATMULT_THRESHOLD = OPENMP_TSMATTDMATMULT_THRESHOLD
 SMP column-major sparse matrix/column-major dense matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major sparse matrix/column-major dense matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_SMATSMATMULT_THRESHOLD = OPENMP_SMATSMATMULT_THRESHOLD
 SMP row-major sparse matrix/row-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major sparse matrix/row-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_SMATTSMATMULT_THRESHOLD = OPENMP_SMATTSMATMULT_THRESHOLD
 SMP row-major sparse matrix/column-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel row-major sparse matrix/column-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSMATSMATMULT_THRESHOLD = OPENMP_TSMATSMATMULT_THRESHOLD
 SMP column-major sparse matrix/row-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major sparse matrix/row-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_TSMATTSMATMULT_THRESHOLD = OPENMP_TSMATTSMATMULT_THRESHOLD
 SMP column-major sparse matrix/column-major sparse matrix multiplication threshold.This threshold represents the system-specific threshold for a parallel column-major sparse matrix/column-major sparse matrix multiplication. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 
const size_t blaze::SMP_DVECTDVECMULT_THRESHOLD = OPENMP_DVECTDVECMULT_THRESHOLD
 SMP dense vector/dense vector outer product threshold.This threshold represents the system-specific threshold for a parallel dense vector/dense vector outer product. In case the number of rows/columns of the target matrix is larger or equal to this threshold, the operation is executed in parallel. If the number of rows/columns is below this threshold the operation is executed single-threaded.
 

Detailed Description

The system module contains all system settings for the Blaze library.

Macro Definition Documentation

#define BLAZE_BLAS_IS_PARALLEL   0

Compilation switch for the parallel BLAS mode.This compilation switch specifies whether the used BLAS library is itself parallelized or not. In case the given BLAS library is itself parallelized, the Blaze library does not perform any attempt to parallelize the execution of BLAS kernels. If, however, the given BLAS library is not parallelized Blaze will attempt to parallelize the execution of BLAS kernels.

Possible settings for the switch:

  • BLAS library is not parallelized: 0
  • BLAS library is parallelized : 1

Note that changing the setting of the BLAS mode requires a recompilation of the Blaze library. Also note that this switch is automatically set by the configuration script of the Blaze library.

#define BLAZE_BLAS_MODE   0

Compilation switch for the BLAS mode.This compilation switch enables/disables the BLAS mode. In case the BLAS mode is enabled, several basic linear algebra functions (such as for instance matrix-matrix multiplications between two dense matrices) are handled by performance optimized BLAS functions. Note that in this case it is mandatory to provide the according BLAS header file for the compilation of the Blaze library. In case the BLAS mode is disabled, all linear algebra functions use the default implementations of the Blaze library and therefore BLAS is not a requirement for the compilation process.

Possible settings for the BLAS switch:

  • Deactivated: 0
  • Activated : 1

Note that changing the setting of the BLAS mode requires a recompilation of the Blaze library. Also note that this switch is automatically set by the configuration script of the Blaze library.