CacheSize.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_SYSTEM_CACHESIZE_H_
36 #define _BLAZE_SYSTEM_CACHESIZE_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 #include <blaze/util/Types.h>
45 
46 
47 
48 
49 //=================================================================================================
50 //
51 // CACHE SIZE
52 //
53 //=================================================================================================
54 
55 #include <blaze/config/CacheSize.h>
56 
57 
58 
59 
60 //=================================================================================================
61 //
62 // COMPILE TIME CONSTRAINT
63 //
64 //=================================================================================================
65 
66 //*************************************************************************************************
68 namespace {
69 
70 BLAZE_STATIC_ASSERT( blaze::cacheSize > 100000UL && blaze::cacheSize < 100000000UL );
71 
72 }
74 //*************************************************************************************************
75 
76 #endif
Header file for basic type definitions.
Compile time assertion.
Configuration of the cache size of the target architecture.
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.In case of an invalid compile time expression, a compilation error is cr...
Definition: StaticAssert.h:143
const size_t cacheSize
Cache size of the target architecture.This setting specifies the available cache size in Byte of the ...
Definition: CacheSize.h:48