Skip to content

Commit

Permalink
Use Acc1D directly in TestAlgo
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Bocci <fwyzard@gmail.com>
  • Loading branch information
makortel and fwyzard committed Dec 18, 2024
1 parent 9814921 commit 25fe7a6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions HeterogeneousCore/AlpakaTest/plugins/alpaka/TestAlgo.dev.cc
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
}
}

template <typename TAcc, typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
ALPAKA_FN_ACC void operator()(TAcc const& acc,
ALPAKA_FN_ACC void operator()(Acc1D const& acc,
portabletest::TestDeviceCollection::ConstView input,
TestAlgo::UpdateInfo const* updateInfo,
portabletest::TestDeviceCollection::View output) const {
Expand Down Expand Up @@ -228,8 +227,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
}
}

template <typename TAcc, typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
ALPAKA_FN_ACC void operator()(TAcc const& acc,
ALPAKA_FN_ACC void operator()(Acc1D const& acc,
portabletest::TestSoA::ConstView input,
portabletest::TestSoA2::ConstView input2,
TestAlgo::UpdateInfo const* updateInfo,
Expand Down Expand Up @@ -299,8 +297,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
}
}

template <typename TAcc, typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>>
ALPAKA_FN_ACC void operator()(TAcc const& acc,
ALPAKA_FN_ACC void operator()(Acc1D const& acc,
portabletest::TestSoA::ConstView input,
portabletest::TestSoA2::ConstView input2,
portabletest::TestSoA3::ConstView input3,
Expand Down

0 comments on commit 25fe7a6

Please sign in to comment.