X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Robust%2Fsrc%2FRuntime%2FRAW%2Fruntime_arch.h;h=6e33e5cf2cd1f05dde0c2e842a948b4aa73e5585;hb=6a37681b314d9ed892ea004ee4cb638f8118820b;hp=e4d75541d554335292abfd40ce2e90af4f99c0c4;hpb=82633c7cf067bd42351e95143d6b449777706559;p=IRC.git diff --git a/Robust/src/Runtime/RAW/runtime_arch.h b/Robust/src/Runtime/RAW/runtime_arch.h index e4d75541..6e33e5cf 100644 --- a/Robust/src/Runtime/RAW/runtime_arch.h +++ b/Robust/src/Runtime/RAW/runtime_arch.h @@ -10,6 +10,9 @@ #include #include +#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