@@ -85,12 +85,12 @@ class Main : public CBase_Main {
8585
8686 }
8787 else if (correctness ){
88- CkPrintf ("Strassen - Correct: matrix size = %d, Threshold = %d,# of proc = %d, Exec time = %lf sec (cpp: %lf) \n" , size , THRESHOLD ,CkNumPes (),endtimer - starttimer ,elapsed_secs );
89- myfile <<"Strassen - Correct: matrix size = " <<size <<", Threshold = " << THRESHOLD <<",# of proc = " <<CkNumPes ()<<" , Exec time = " << endtimer - starttimer << "\n" ;
88+ CkPrintf ("Charm++ - Correct: matrix size = %d, Threshold = %d,# of proc = %d, Exec time = %lf sec (cpp: %lf) \n" , size , THRESHOLD ,CkNumPes (),endtimer - starttimer ,elapsed_secs );
89+ myfile <<"Charm++ - Correct: matrix size = " <<size <<", Threshold = " << THRESHOLD <<",# of proc = " <<CkNumPes ()<<" , Exec time = " << endtimer - starttimer << "\n" ;
9090 }
9191 else {
92- CkPrintf ("Strassen - Incorrect: matrix size = %d, Threshold = %d,# of proc = %d, Exec time = %lf sec \n" , size , THRESHOLD ,CkNumPes (),endtimer - starttimer );
93- myfile <<"Strassen - Incorrect: matrix size = " <<size <<", Threshold = " << THRESHOLD <<",# of proc = " <<CkNumPes ()<<" , Exec time = " << endtimer - starttimer << "\n" ;
92+ CkPrintf ("Charm++ - Incorrect: matrix size = %d, Threshold = %d,# of proc = %d, Exec time = %lf sec \n" , size , THRESHOLD ,CkNumPes (),endtimer - starttimer );
93+ myfile <<"Charm++ - Incorrect: matrix size = " <<size <<", Threshold = " << THRESHOLD <<",# of proc = " <<CkNumPes ()<<" , Exec time = " << endtimer - starttimer << "\n" ;
9494 }
9595 myfile .close ();
9696 delete m ;
@@ -242,15 +242,10 @@ class strassen : public CBase_strassen {
242242
243243 ValueMsg * m1 = (ValueMsg * ) CkWaitFuture (p1Future );
244244 ValueMsg * m2 = (ValueMsg * ) CkWaitFuture (p2Future );
245-
246245 ValueMsg * m3 = (ValueMsg * ) CkWaitFuture (p3Future );
247-
248246 ValueMsg * m4 = (ValueMsg * ) CkWaitFuture (p4Future );
249-
250247 ValueMsg * m5 = (ValueMsg * ) CkWaitFuture (p5Future );
251-
252248 ValueMsg * m6 = (ValueMsg * ) CkWaitFuture (p6Future );
253-
254249 ValueMsg * m7 = (ValueMsg * ) CkWaitFuture (p7Future );
255250
256251 /*do we need another chare for the C1,C2,C3,C4 ?*/
0 commit comments