Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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
StaticAssert.h
Compile time assertion.
CacheSize.h
Configuration of the cache size of the target architecture.
Types.h
Header file for basic type definitions.
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 Sun Jan 5 2014 09:03:12 by
1.8.5