From: adash Date: Thu, 12 Mar 2009 17:45:11 +0000 (+0000) Subject: Manual prefetch versions of Array and Chase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4c8105af235eba0899070b0dd5de0f06c24d659d;p=IRC.git Manual prefetch versions of Array and Chase microbenchmarks --- diff --git a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/Array/Array.java b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/Array/Array.java new file mode 100644 index 00000000..48badc4e --- /dev/null +++ b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/Array/Array.java @@ -0,0 +1,43 @@ +public class Array extends Thread { + int [][] array; + + public Array() { + int xmax=10000; + int ymax=10; + array=global new int[xmax][ymax]; + for(int i=0;i