1 #ifndef BAMBOO_MULTICORE_CACHE_H
2 #define BAMBOO_MULTICORE_CACHE_H
6 #define GC_CACHE_SAMPLING_UNIT 100000000
7 #define GC_TILE_TIMER_EVENT_SETTING 10000000 //0
9 // should be consistent with multicoreruntime.h
16 unsigned int cache_mode : 2;
18 unsigned int __reserved_0 : 6;
19 // Location Override Target Y
20 unsigned int lotar_y : 4;
22 unsigned int __reserved_1 : 4;
23 // Location Override Target X
24 unsigned int lotar_x : 4;
26 unsigned int __reserved_2 : 12;
28 } bamboo_cache_policy_t;
30 #define BAMBOO_CACHE_MODE_LOCAL 0
31 #define BAMBOO_CACHE_MODE_HASH 1
32 #define BAMBOO_CACHE_MODE_NONE 2
33 #define BAMBOO_CACHE_MODE_COORDS 3
35 #endif // GC_CACHE_ADAPT
36 #endif // MULTICORE_GC