
200 Energy-Aware Memory Management for EMSs
optDelta[0] = 0 ; // int A[81][81]: input;
for ( i=16; i<=64; i++ )
for ( j=16; j<=64; j++ )
{ Delta[i][j][0] = 0 ;
for ( k=i-16; k<=i+16; k++ )
for ( l=j-16; l<=j+16; l++ )
Delta[i][j][33*k-33*i+l-j+545] = A[i][j] - A[k][l]
+ Delta[i][j][33*k-33*i+l-j+544] ;
optDelta[49*i+j-799] = Delta[i][j][1089] + optDelta[49*i+j-800];
}
opt[0] = optDelta[2401];
Figure 6.1 Example 6.1, whose code structure and computation flow is
similar to a motion detection kernel [30] (m = n =16,M = N = 64) [25]. (
c
2009 IEEE).
“exact_map_of_accesses_signal_A_3D”
0
10
20
30
40
50
60
70
80
0
10
20
30
40
50
60
70
80
0
500
1000
1500
2000
2500 ...