Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prckent authored Jan 4, 2023
1 parent 96692e4 commit 19d8332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QMCWaveFunctions/Fermion/MatrixUpdateOMPTarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class MatrixUpdateOMPTarget
// This was causing a llvm-link error in icpx due to the lack of declare reduction on complex datatypes.
// Keep real builds free of any reduction on a complex datatype. Just serialize the reduction.
// Because mw_evalGradWithSpin is only being called in complex builds in simulations, the impact of this workaround is basically zero.
// It is still benefiical to keep it functional in real builds.
// It is still beneficial to keep it functional in real builds.
PRAGMA_OFFLOAD("omp parallel for reduction(+: grad_x, grad_y, grad_z, spingrad)")
#endif
for (int iorb = 0; iorb < norb; iorb++)
Expand Down

0 comments on commit 19d8332

Please sign in to comment.