From: adash Date: Sun, 13 Dec 2009 06:03:16 +0000 (+0000) Subject: SOR changes to single java version X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c273d6dcdd4e6a31a0ed16594a3e836319154238;p=IRC.git SOR changes to single java version --- diff --git a/Robust/src/Benchmarks/Prefetch/SOR/javasingle/JGFSORBench.java b/Robust/src/Benchmarks/Prefetch/SOR/javasingle/JGFSORBench.java index 325baefb..c5d8c780 100644 --- a/Robust/src/Benchmarks/Prefetch/SOR/javasingle/JGFSORBench.java +++ b/Robust/src/Benchmarks/Prefetch/SOR/javasingle/JGFSORBench.java @@ -44,14 +44,15 @@ public class JGFSORBench { public static void JGFkernel(JGFSORBench sor) { int numthreads, datasize; - double[][] G; int num_iterations; + long RANDOM_SEED; numthreads = sor.nthreads; datasize = sor.datasizes[sor.size]; G = new double[datasize][]; num_iterations = sor.JACOBI_NUM_ITER; + RANDOM_SEED = sor.RANDOM_SEED; double omega = 1.25; double omega_over_four = omega * 0.25; @@ -63,20 +64,21 @@ public class JGFSORBench { SORWrap[] thobjects = new SORWrap[numthreads]; - for(int i=0;i