Skip to content

Commit

Permalink
Expose changing occupancy through a tuning variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Feb 1, 2024
1 parent e981e11 commit 64478e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/details/ArborX_DetailsHalfTraversal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
#ifndef ARBORX_DETAILS_HALF_TRAVERSAL_HPP
#define ARBORX_DETAILS_HALF_TRAVERSAL_HPP

#include <ArborX_Callbacks.hpp> // LegacyCallbackWrapper
#include <ArborX_DetailsHappyTreeFriends.hpp>
#include <ArborX_DetailsLegacy.hpp>
#include <ArborX_DetailsNode.hpp> // ROPE_SENTINEL

#include <Kokkos_Core.hpp>

#include <cstdlib>

namespace ArborX::Details
{

Expand Down Expand Up @@ -56,7 +57,7 @@ struct HalfTraversal
"ArborX::Experimental::HalfTraversal",
Kokkos::Experimental::prefer(
Kokkos::RangePolicy<ExecutionSpace>(space, 0, _bvh.size()),
Kokkos::Experimental::DesiredOccupancy{75}),
Kokkos::Experimental::DesiredOccupancy{Kokkos::AUTO}),
*this);
else
#endif
Expand Down

0 comments on commit 64478e3

Please sign in to comment.