From: adash Date: Tue, 26 Jan 2010 23:30:10 +0000 (+0000) Subject: changes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d4a6bb21b555fc52ac3d2b98d8f5f9bed65dfcd5;p=IRC.git changes --- diff --git a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/MatrixMultiplyD3.java b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/MatrixMultiplyD3.java index 27aa68b8..780bf498 100644 --- a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/MatrixMultiplyD3.java +++ b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/MatrixMultiplyD3.java @@ -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); } } diff --git a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/makefile b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/makefile index 8defc674..467fe539 100644 --- a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/makefile +++ b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/MatrixMultiply/makefile @@ -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}