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 100000000
8 #define GC_NUM_SAMPLING 24
10 // should be consistent with multicoreruntime.h
17 unsigned int cache_mode : 2;
19 unsigned int __reserved_0 : 6;
20 // Location Override Target Y
21 unsigned int lotar_y : 4;
23 unsigned int __reserved_1 : 4;
24 // Location Override Target X
25 unsigned int lotar_x : 4;
27 unsigned int __reserved_2 : 12;
29 } bamboo_cache_policy_t;
31 #define BAMBOO_CACHE_MODE_LOCAL 0
32 #define BAMBOO_CACHE_MODE_HASH 1
33 #define BAMBOO_CACHE_MODE_NONE 2
34 #define BAMBOO_CACHE_MODE_COORDS 3
36 #endif // GC_CACHE_ADAPT
37 #endif // MULTICORE_GC