Optimizations.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_SYSTEM_OPTIMIZATIONS_H_
36 #define _BLAZE_SYSTEM_OPTIMIZATIONS_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // OPTIMIZATION SETTINGS
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
56 constexpr bool usePadding = BLAZE_USE_PADDING;
57 constexpr bool useStreaming = BLAZE_USE_STREAMING;
58 constexpr bool useOptimizedKernels = BLAZE_USE_OPTIMIZED_KERNELS;
60 //*************************************************************************************************
61 
62 } // namespace blaze
63 
64 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_USE_OPTIMIZED_KERNELS
Configuration of the streaming behavior.Via this compilation switch streaming (i.e. non-temporal stores) can be (de-)activated. For large vectors and matrices non-temporal stores can provide a significant performance advantage of about 20%. However, this advantage is only in effect in case the memory bandwidth of the target architecture is maxed out. If the target architecture's memory bandwidth cannot be exhausted the use of non-temporal stores can decrease performance instead of increasing it.
Definition: Optimizations.h:120
Configuration of performance optimizations.
#define BLAZE_USE_PADDING
Configuration of the padding of dense vectors and matrices.This configuration switch enables/disables...
Definition: Optimizations.h:62