Assert((maxIterations % 2) == 0);
+ X_KERNEL_START(kd);
+
for (int iter = 0; iter < maxIterations; iter += 2) {
// --------------------------------------------------------------------
} // for (int iter = 0; ...
+ X_KERNEL_END(kd);
+
#ifdef VTK_OUTPUT
if (cd->VtkOutput) {
for (int x = bX; x < eX; x += 1) {
for (int y = bY; y < eY; y += 1) {
- for (int z = bZ; z < eZ; z += VSIZE) {
+ for (int z = bZ; z < eZ; z += VSIZE) { // LOOP aa-vec-even
#define I(x, y, z, dir) P_INDEX_5(gDims, (x), (y), (z), (dir))
for (int x = bX; x < eX; ++x) {
for (int y = bY; y < eY; ++y) {
- for (int z = bZ; z < eZ; z += VSIZE) {
+ for (int z = bZ; z < eZ; z += VSIZE) { // LOOP aa-vec-odd
#define I(x, y, z, dir) P_INDEX_5(gDims, (x), (y), (z), (dir))