Updates to support multicore version runtime of Tilera. Also fix a bug in BuildCodeMu...
authorjzhou <jzhou>
Wed, 13 May 2009 23:14:44 +0000 (23:14 +0000)
committerjzhou <jzhou>
Wed, 13 May 2009 23:14:44 +0000 (23:14 +0000)
commit14a9a9160ea9ad6d61f139b8b34d7e75cc80e689
treefa81e2687c0545af2dd2ce7780456bfa39372fa7
parentde2479707660ec81b274cff33a2068b7366a0265
Updates to support multicore version runtime of Tilera. Also fix a bug in BuildCodeMulticore.java: it faulty omitted codes which repeatedly transfer objects to the same core. In current scheduling, to send 4 objs to 2 cores, it could be specified as an array [0,0,1,1] indicating the target cores for each object. Originaly the array was generated as [0,0,1,null] which caused missing of objects.
Robust/src/IR/Flat/BuildCodeMultiCore.java
Robust/src/Runtime/mem.c
Robust/src/Runtime/mem.h
Robust/src/Runtime/multicoreruntime.h
Robust/src/Runtime/multicoretask.c