add support for 56 cores in multicore runtime
authorjzhou <jzhou>
Tue, 26 May 2009 17:12:59 +0000 (17:12 +0000)
committerjzhou <jzhou>
Tue, 26 May 2009 17:12:59 +0000 (17:12 +0000)
Robust/src/Analysis/Scheduling/ScheduleAnalysis.java
Robust/src/Runtime/multicoretask.c

index 2ec42225c9dd19971ffbe009190bf3c21b4cc109..84dbb9f15a078ae96d6ab882adfc37a8a0872145 100644 (file)
@@ -372,7 +372,7 @@ public class ScheduleAnalysis {
                                            (cdname.equals("FilterBankAtom")) ||
                                            (cdname.equals("Grid")) ||
                                            (cdname.equals("Fractal"))) {
-                                       newRate = 16;
+                                       newRate = this.coreNum;
                                    } else if(cdname.equals("SentenceParser")) {
                                        newRate = 4;
                                    }
index 1fbd7547b52e1428f0852aeac1c20774868f4256..c421e13afabf9bae8998a35199130a3751300d6e 100644 (file)
@@ -1798,11 +1798,11 @@ int processlockrequest(int locktype, int lock, int obj, int requestcore, int roo
   int deny = 0;
   if( ((lock >> 5) % BAMBOO_TOTALCORE) != corenum ) {
          // the lock should not be on this core
-//#ifndef TILERA
+#ifndef TILERA
          BAMBOO_DEBUGPRINT_REG(requestcore);
          BAMBOO_DEBUGPRINT_REG(lock);
          BAMBOO_DEBUGPRINT_REG(corenum);
-//#endif
+#endif
          BAMBOO_EXIT(0xa015);
   }
   /*if((corenum == STARTUPCORE) && waitconfirm) {