From: bdemsky Date: Tue, 10 Mar 2009 07:30:58 +0000 (+0000) Subject: some changes... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b6dc4f439d54b4bb43b579145e5928c559cdff87;p=IRC.git some changes... --- diff --git a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java index 5d8f12e2..241e89b2 100644 --- a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java +++ b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java @@ -30,7 +30,7 @@ public class Convolution extends Thread { offsets[2] = getoffset{Image, inputImage}; offsets[3] = (short) 0; offsets[4] = (short) tempx0; - offsets[5] = (short) 32; + offsets[5] = (short) 31; System.rangePrefetch(o, offsets); //Prefetch this.img.outputImage[] the first 32 objects @@ -42,7 +42,7 @@ public class Convolution extends Thread { offsets1[2] = getoffset{Image, outputImage}; offsets1[3] = (short) 0; offsets1[4] = (short) tempx0; - offsets1[5] = (short) 32; + offsets1[5] = (short) 31; System.rangePrefetch(o1, offsets1); int kernelHeight=15; @@ -70,27 +70,17 @@ public class Convolution extends Thread { double tinput13[] = tempinput[x0+12]; double tinput14[] = tempinput[x0+13]; double tinput0[] = tinput1; + short[] offsets2 = new short[2]; + int l=x0+14; for(int i=x0;i