projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f6f5a
)
hack to avoid reprefetching the same things
author
bdemsky
<bdemsky>
Sat, 14 Mar 2009 17:26:13 +0000
(17:26 +0000)
committer
bdemsky
<bdemsky>
Sat, 14 Mar 2009 17:26:13 +0000
(17:26 +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 4d4292713a83a419a9c401d48c105331f8425b96..089bb89e4fbb6ee5afc3f170c1599b983501feb9 100644
(file)
--- a/
Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java
+++ b/
Robust/src/Benchmarks/Prefetch/ManualPrefetch/2DConv/ConvolutionSizeC.java
@@
-64,11
+64,11
@@
public class Convolution extends Thread {
short[] offsets2 = new short[2];
- int l=
x0+
14;
+ int l=14;
for(int i=x0;i<x1;i++,l++){
if((l&31) == 0) { //prefetch every 16th iteration
//Prefetch this.img.inputImage[]
- offsets2[0] = (short)
l
;
+ offsets2[0] = (short)
(l+x0)
;
offsets2[1] = (short) 31;
System.rangePrefetch(tempinput, offsets2);
System.rangePrefetch(tempout, offsets2);