62 |
|
|
63 |
|
System.out.println("Compute Time: " + secs); |
64 |
|
System.out.println(fjp); |
65 |
– |
|
65 |
|
} |
67 |
– |
|
66 |
|
} |
67 |
|
|
68 |
|
static class Segment extends CyclicAction { |
140 |
|
public void compute() { |
141 |
|
int rows = hiRow - loRow + 1; |
142 |
|
int cols = hiCol - loCol + 1; |
143 |
< |
int rblocks = (int)(Math.round((float)rows / dimGran)); |
144 |
< |
int cblocks = (int)(Math.round((float)cols / dimGran)); |
143 |
> |
int rblocks = Math.round((float)rows / dimGran); |
144 |
> |
int cblocks = Math.round((float)cols / dimGran); |
145 |
|
|
146 |
|
int n = rblocks * cblocks; |
147 |
|
|