changes
authoradash <adash>
Tue, 26 Jan 2010 23:30:10 +0000 (23:30 +0000)
committeradash <adash>
Tue, 26 Jan 2010 23:30:10 +0000 (23:30 +0000)
Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/MatrixMultiplyD3.java
Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/makefile

index 27aa68b8fc4e57b88ba316aeacab82a604e9c736..780bf49870a18201009777e1c302d472c671c871 100644 (file)
@@ -57,8 +57,6 @@ public class MatrixMultiply extends Thread{
         //Get first part of A
         offsets[0] = getoffset{MMul, a};
         offsets[1] = (short) 0;
-        offsets[2] = (short) 0;
-        offsets[3] = (short) 7;
         offsets[4] = (short) x0;
         offsets[5] = (short) 15;
         System.rangePrefetch(mmul, offsets);
@@ -87,21 +85,21 @@ public class MatrixMultiply extends Thread{
                 offsets2[1]=(short) lx;
                 offsets2[2] = (short) y0;
                 offsets2[3] = (short) (y1 - y0 -1);
-                System.rangePrefetch(mmul.btranspose, offsets2);
+                System.rangePrefetch(lb, offsets2);
                 offsets2[2] = (short) x0;
                 offsets2[3] = (short) 15;
-                System.rangePrefetch(mmul.a, offsets2);
-                System.rangePrefetch(mmul.c, offsets2);
+                System.rangePrefetch(la, offsets2);
+                System.rangePrefetch(lc, offsets2);
               }
             } else {
-              offsets2[1]=(short) 7;
+              offsets2[1]=(short)7;
               offsets2[2] = (short) y0;
               offsets2[3] = (short) (y1 - y0 -1);
-              System.rangePrefetch(mmul.btranspose, offsets2);
+              System.rangePrefetch(lb, offsets2);
               offsets2[2] = (short) x0;
               offsets2[3] = (short) 15;
-              System.rangePrefetch(mmul.a, offsets2);
-              System.rangePrefetch(mmul.c, offsets2);
+              System.rangePrefetch(la, offsets2);
+              System.rangePrefetch(lc, offsets2);
             }
           }
 
index 8defc6741e774eb5ea6b679e009614f7621e7a71..467fe539d977abd6ffd884591255349c7ba56078 100644 (file)
@@ -1,8 +1,8 @@
 MAINCLASS=MatrixMultiply
 SRC1=${MAINCLASS}D3.java
-FLAGS1=-dsm -transstats -dsmcaching -rangeprefetch -optimize -mainclass ${MAINCLASS} -trueprob 0.98
-FLAGS2=-dsm -transstats -optimize -mainclass ${MAINCLASS}
-FLAGS3=-dsm -optimize -transstats -dsmcaching -mainclass ${MAINCLASS}
+FLAGS1=-dsm -dsmcaching -rangeprefetch -optimize -mainclass ${MAINCLASS} -trueprob 0.98
+FLAGS2=-dsm -optimize -mainclass ${MAINCLASS}
+FLAGS3=-dsm -optimize -dsmcaching -mainclass ${MAINCLASS}
 default:
        ../../../../buildscript ${FLAGS1} -o ${MAINCLASS}RangeN ${SRC1}
        ../../../../buildscript ${FLAGS2} -o ${MAINCLASS}NPNC ${SRC1}