@ktsai7 pointed out a test was failing on Power9s. @rbberger found that the reason was that we are using an older Kokkos on that system, and it doesn't support cuda-relaxed-constexpr. The test relied on this to move a std::array to device via lambda capture.
This change removes the need for that, by instead using a Kokkos::View. I also got annoyed waiting for 1e9 points to be evaluated, so I reduce to 1e6 points.
PR Checklist
[x] Code is formatted.
[x] Adds a test for any bugs fixed. Adds tests for new features.
PR Summary
@ktsai7 pointed out a test was failing on Power9s. @rbberger found that the reason was that we are using an older Kokkos on that system, and it doesn't support
cuda-relaxed-constexpr
. The test relied on this to move astd::array
to device via lambda capture.This change removes the need for that, by instead using a
Kokkos::View
. I also got annoyed waiting for 1e9 points to be evaluated, so I reduce to 1e6 points.PR Checklist