projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62d7dc
)
change
author
bdemsky
<bdemsky>
Sat, 14 Mar 2009 17:19:56 +0000
(17:19 +0000)
committer
bdemsky
<bdemsky>
Sat, 14 Mar 2009 17:19:56 +0000
(17:19 +0000)
Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java
patch
|
blob
|
history
diff --git
a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java
b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java
index bf9b662a6d913455a3659177ac586ce443021656..4d4292713a83a419a9c401d48c105331f8425b96 100644
(file)
--- a/
Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java
+++ b/
Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java
@@
-66,9
+66,9
@@
public class Convolution extends Thread {
int l=x0+14;
for(int i=x0;i<x1;i++,l++){
- if((
i
&31) == 0) { //prefetch every 16th iteration
+ if((
l
&31) == 0) { //prefetch every 16th iteration
//Prefetch this.img.inputImage[]
- offsets2[0] = (short)
(i+32)
;
+ offsets2[0] = (short)
l
;
offsets2[1] = (short) 31;
System.rangePrefetch(tempinput, offsets2);
System.rangePrefetch(tempout, offsets2);