Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated distributed tree stuff #706

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove deprecated DistributedTree<DeviceType>
  • Loading branch information
dalg24 committed Jul 26, 2022
commit 5b28f0d3fefa03709567428ca56ffd66e23059e2
26 changes: 0 additions & 26 deletions src/ArborX_DistributedTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,32 +196,6 @@ DistributedTree<MemorySpace, Enable>::DistributedTree(
Kokkos::Profiling::popRegion();
}

template <typename DeviceType>
class DistributedTree<DeviceType,
std::enable_if_t<Kokkos::is_device<DeviceType>::value>>
: public DistributedTree<typename DeviceType::memory_space>
{
public:
using device_type = DeviceType;

// clang-format off
template <typename Primitives>
[[deprecated("ArborX::DistributedTree templated on a device type is "
"deprecated, use it templated on a memory space instead.")]]
DistributedTree(MPI_Comm comm, Primitives const &primitives)
: DistributedTree<typename DeviceType::memory_space>(
comm, typename DeviceType::execution_space{}, primitives)
{
}
// clang-format on
template <typename... Args>
void query(Args &&...args) const
{
DistributedTree<typename DeviceType::memory_space>::query(
typename DeviceType::execution_space{}, std::forward<Args>(args)...);
}
};

// clang-format off

template <typename MemorySpace, typename Enable = void>
Expand Down