Blaze.hpp
Go to the documentation of this file.
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 /// \file
5 /// Includes Blaze library with specific configs
6 
7 #pragma once
8 
9 #ifdef __GNUC__
10 #pragma GCC system_header
11 #endif
12 
13 /// \cond
14 
15 // Override cache size
16 //#define _BLAZE_SYSTEM_CACHESIZE_H_
17 // constexpr size_t cacheSize = 6291456UL;
18 
19 // Override padding, streaming and kernel options
20 #define _BLAZE_SYSTEM_OPTIMIZATIONS_H_
21 namespace blaze {
22 constexpr bool usePadding = false;
23 constexpr bool useStreaming = true;
24 constexpr bool useOptimizedKernels = true;
25 }
26 
27 // Override SMP configurations
28 #define _BLAZE_SYSTEM_SMP_H_
29 #define BLAZE_USE_SHARED_MEMORY_PARALLELIZATION 0
30 #define BLAZE_OPENMP_PARALLEL_MODE 0
31 #define BLAZE_CPP_THREADS_PARALLEL_MODE 0
32 
33 // Disable MPI parallelization
34 #define _BLAZE_SYSTEM_MPI_H_
35 #define BLAZE_MPI_PARALLEL_MODE 0
36 
37 // Disable HPX parallelization
38 #define BLAZE_HPX_PARALLEL_MODE 0
39 /// \endcond
Definition: ComplexDataVector.hpp:56