All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
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_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   1
 Major version of the Blaze library.This value corresponds to the major version of the Blaze library. For instance, for Blaze version 1.5, the BLAZE_MAJOR_VERSION corresponds to 1.
 
#define BLAZE_MINOR_VERSION   5
 Minor version of the Blaze library.This value corresponds to the minor version of the Blaze library. For instance, for Blaze version 1.5, the BLAZE_MINOR_VERSION corresponds to 5.
 

Detailed Description

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

Macro Definition Documentation

#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.