Skip to content

Commit

Permalink
Merge pull request #187 from amametjanov/ctests/fix-pm-nvidia-reductions
Browse files Browse the repository at this point in the history
Fix reductions ctest for nvidia on perlmutter
  • Loading branch information
mark-petersen authored Dec 12, 2024
2 parents 5107812 + cb5b7a9 commit cdaabc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/omega/test/base/ReductionsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ int main(int argc, char *argv[]) {
// test MIN, MAX of arrays
HostArray1DI4 HostA1DI4Work("HostA1DI4Work", NumCells * MySize);
HostArray1DI4 HostA1DI4Min("HostA1DI4Min", NumCells * MySize);
for (i = 0; i < MySize; i++) {
for (j = 0; j < NumCells; j++) {
for (j = 0; j < NumCells; j++) {
for (i = 0; i < MySize; i++) {
k = i * NumCells + j;
if (MyTask == i) {
HostA1DI4Work(k) = (i + 1) * k; // processor-specific work array
Expand Down

0 comments on commit cdaabc3

Please sign in to comment.