Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
blaze
system
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
43
#include <
blaze/util/StaticAssert.h
>
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
Types.h
Header file for basic type definitions.
StaticAssert.h
Compile time assertion.
CacheSize.h
Configuration of the cache size of the target architecture.
BLAZE_STATIC_ASSERT
#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
blaze::cacheSize
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
Generated on Thu Jul 2 2015 04:54:53 by
1.8.9.1