Skip to content

Commit

Permalink
Reenable MLS tests on HIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Rombur committed Feb 2, 2024
1 parent 9253614 commit 6d6a7a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
22 changes: 0 additions & 22 deletions test/tstInterpDetailsMLSCoefficients.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@ interpolate(ExecutionSpace const &space, SourceValues const &source_values,

BOOST_AUTO_TEST_CASE_TEMPLATE(mls_coefficients, DeviceType, ARBORX_DEVICE_TYPES)
{
// FIXME_HIP: the CI fails with:
// fatal error: in "mls_coefficients_edge_cases<Kokkos__Device<Kokkos__HIP_
// Kokkos__HIPSpace>>": std::runtime_error: Kokkos::Impl::ParallelFor/Reduce<
// HIP > could not find a valid team size.
// The error seems similar to https://github.com/kokkos/kokkos/issues/6743
#ifdef KOKKOS_ENABLE_HIP
if (std::is_same_v<typename DeviceType::execution_space, Kokkos::HIP>)
{
return;
}
#endif
using ExecutionSpace = typename DeviceType::execution_space;
using MemorySpace = typename DeviceType::memory_space;
ExecutionSpace space{};
Expand Down Expand Up @@ -137,17 +126,6 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(mls_coefficients, DeviceType, ARBORX_DEVICE_TYPES)
BOOST_AUTO_TEST_CASE_TEMPLATE(mls_coefficients_edge_cases, DeviceType,
ARBORX_DEVICE_TYPES)
{
// FIXME_HIP: the CI fails with:
// fatal error: in "mls_coefficients_edge_cases<Kokkos__Device<Kokkos__HIP_
// Kokkos__HIPSpace>>": std::runtime_error: Kokkos::Impl::ParallelFor/Reduce<
// HIP > could not find a valid team size.
// The error seems similar to https://github.com/kokkos/kokkos/issues/6743
#ifdef KOKKOS_ENABLE_HIP
if (std::is_same_v<typename DeviceType::execution_space, Kokkos::HIP>)
{
return;
}
#endif
using ExecutionSpace = typename DeviceType::execution_space;
using MemorySpace = typename DeviceType::memory_space;
ExecutionSpace space{};
Expand Down
24 changes: 0 additions & 24 deletions test/tstInterpMovingLeastSquares.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@
BOOST_AUTO_TEST_CASE_TEMPLATE(moving_least_squares, DeviceType,
ARBORX_DEVICE_TYPES)
{
// FIXME_HIP: the CI fails with:
// fatal error: in "mls_coefficients_edge_cases<Kokkos__Device<Kokkos__HIP_
// Kokkos__HIPSpace>>": std::runtime_error: Kokkos::Impl::ParallelFor/Reduce<
// HIP > could not find a valid team size.
// The error seems similar to https://github.com/kokkos/kokkos/issues/6743
#ifdef KOKKOS_ENABLE_HIP
if (std::is_same_v<typename DeviceType::execution_space, Kokkos::HIP>)
{
return;
}
#endif

using ExecutionSpace = typename DeviceType::execution_space;
using MemorySpace = typename DeviceType::memory_space;
ExecutionSpace space{};
Expand Down Expand Up @@ -111,18 +99,6 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(moving_least_squares, DeviceType,
BOOST_AUTO_TEST_CASE_TEMPLATE(moving_least_squares_edge_cases, DeviceType,
ARBORX_DEVICE_TYPES)
{
// FIXME_HIP: the CI fails with:
// fatal error: in "mls_coefficients_edge_cases<Kokkos__Device<Kokkos__HIP_
// Kokkos__HIPSpace>>": std::runtime_error: Kokkos::Impl::ParallelFor/Reduce<
// HIP > could not find a valid team size.
// The error seems similar to https://github.com/kokkos/kokkos/issues/6743
#ifdef KOKKOS_ENABLE_HIP
if (std::is_same_v<typename DeviceType::execution_space, Kokkos::HIP>)
{
return;
}
#endif

using ExecutionSpace = typename DeviceType::execution_space;
using MemorySpace = typename DeviceType::memory_space;
ExecutionSpace space{};
Expand Down

0 comments on commit 6d6a7a8

Please sign in to comment.