Skip to content

Commit

Permalink
Work around OpenMPTarget failure
Browse files Browse the repository at this point in the history
serail.join_backward_compatibility was failing, even though
openmptarget.join_backward_compatibility passed and the test
was using default execution space.
  • Loading branch information
crtrott committed Aug 25, 2023
1 parent 85f66eb commit d5573d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/unit_test/TestJoinBackwardCompatibility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct ReducerWithJoinThatTakesVolatileQualifiedArgs {

void test_join_backward_compatibility() {
MyJoinBackCompatValueType result;
Kokkos::RangePolicy<> policy(0, 1);
Kokkos::RangePolicy<TEST_EXECSPACE> policy(0, 1);

Kokkos::parallel_reduce(
policy, ReducerWithJoinThatTakesBothVolatileAndNonVolatileQualifiedArgs{},
Expand Down
2 changes: 1 addition & 1 deletion core/unit_test/TestNumericTraits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct TestNumericTraits {
use_on_device();
}
KOKKOS_FUNCTION void operator()(SignalingNaN, int, int& e) const {
#ifndef KOKKOS_COMPILER_NVHPC // FIXME_NVHPC 23.7 nan
#ifndef KOKKOS_COMPILER_NVHPC // FIXME_NVHPC 23.7 nan
using Kokkos::Experimental::signaling_NaN;
constexpr auto nan = signaling_NaN<T>::value;
constexpr auto zero = T(0);
Expand Down

0 comments on commit d5573d7

Please sign in to comment.