From 39e797cc787f3cbac5561643ad69b11f65d0b78c Mon Sep 17 00:00:00 2001 From: adash Date: Fri, 30 Jan 2009 04:23:32 +0000 Subject: [PATCH] revert to old version for general prefetching --- .../MatrixMultiply/dsm/MatrixMultiplyN.java | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/Robust/src/Benchmarks/Prefetch/MatrixMultiply/dsm/MatrixMultiplyN.java b/Robust/src/Benchmarks/Prefetch/MatrixMultiply/dsm/MatrixMultiplyN.java index d0bba69c..ebb6d207 100644 --- a/Robust/src/Benchmarks/Prefetch/MatrixMultiply/dsm/MatrixMultiplyN.java +++ b/Robust/src/Benchmarks/Prefetch/MatrixMultiply/dsm/MatrixMultiplyN.java @@ -12,36 +12,6 @@ public class MatrixMultiply extends Thread{ public void run() { atomic { - // Prefetch mmul.a[][] matrix - Object o = mmul; - short[] offsets = new short[4]; - offsets[0] = getoffset{MMul, a}; - offsets[1] = (short) 0; - offsets[2] = (short) x0; - //offsets[3] = (short) (x1 - x0); - offsets[3] = (short) 10; - System.rangePrefetch(o, offsets); - - // Prefetch mmul.btranspose[][] matrix - Object o1 = mmul; - short[] offsets1 = new short[4]; - offsets1[0] = getoffset{MMul, btranspose}; - offsets1[1] = (short) 0; - offsets1[2] = (short) x0; - // offsets1[3] = (short) (x1 - x0); - offsets1[3] = (short) 10; - System.rangePrefetch(o1, offsets1); - - // Prefetch mmul.c[][] matrix - Object o2 = mmul; - short[] offsets2 = new short[4]; - offsets2[0] = getoffset{MMul, c}; - offsets2[1] = (short) 0; - offsets2[2] = (short) x0; - //offsets2[3] = (short) (x1 - x0); - offsets2[3] = (short) 10; - System.rangePrefetch(o2, offsets2); - double la[][]=mmul.a; double lc[][]=mmul.c; double lb[][]=mmul.btranspose; -- 2.34.1