From: adash Date: Tue, 6 May 2008 22:11:44 +0000 (+0000) Subject: small changes + removed comments X-Git-Tag: preEdgeChange~93 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=211ff2415326dc437975a890012d45c7a881379a;p=IRC.git small changes + removed comments --- diff --git a/Robust/src/Benchmarks/Prefetch/SOR/dsm/JGFSORBench.java b/Robust/src/Benchmarks/Prefetch/SOR/dsm/JGFSORBench.java index 21773b9e..273155a7 100644 --- a/Robust/src/Benchmarks/Prefetch/SOR/dsm/JGFSORBench.java +++ b/Robust/src/Benchmarks/Prefetch/SOR/dsm/JGFSORBench.java @@ -27,7 +27,7 @@ public class JGFSORBench { Random R; public double Gtotal; public int cachelinesize; - public long sync[][]; + public int sync[][]; public JGFSORBench(int nthreads){ this.nthreads = nthreads; @@ -127,9 +127,9 @@ public class JGFSORBench { } } - public long[][] init_sync(int nthreads, int cachelinesize) { - long[][] sync; - sync = global new long [nthreads][cachelinesize]; + public int[][] init_sync(int nthreads, int cachelinesize) { + int[][] sync; + sync = global new int [nthreads][cachelinesize]; for (int i = 0; i Mm1) iupper = Mm1+1; if (tmpid == (numthreads-1)) iupper = Mm1+1; - for (int p=0; p<2*numiterations; p++) { - atomic { - for (int i=ilow+(p%2); i