about to make lots of changes to system, just committing this stable compilation...
[IRC.git] / Robust / src / Runtime / RAW / runtime_arch.h
index e4d75541d554335292abfd40ce2e90af4f99c0c4..6e33e5cf2cd1f05dde0c2e842a948b4aa73e5585 100644 (file)
@@ -10,6 +10,9 @@
 #include <raw.h>
 #include <raw_compiler_defs.h>
 
+#define BAMBOO_CACHE_LINE_SIZE (kCacheLineSize)
+#define BAMBOO_CACHE_LINE_MASK (kCacheLineMask)
+
 #define BAMBOO_TOTALCORE (raw_get_num_tiles())  // the total # of cores available in the processor
 #define BAMBOO_NUM_OF_CORE corenum   // the # of current residing core
 #define BAMBOO_GET_NUM_OF_CORE() (raw_get_abs_pos_x() + raw_get_array_size_x() * raw_get_abs_pos_y())  // compute the # of current residing core