24 : bin_tree_view_(s) {}
27 return bin_tree_view_[0].get();
31 bin_tree_view_[0].put({v1, v2});
34 std::pair<workhint_range_view, workhint_range_view>
get_children()
const {
35 auto n = bin_tree_view_.size() - 1;
42 bool empty()
const {
return bin_tree_view_.empty(); }
Global span to represent a view of a global memory range.
Definition: global_span.hpp:33
Definition: workhint_view.hpp:12
bin_tree_node get_workhint() const
Definition: workhint_view.hpp:26
bool has_children() const
Definition: workhint_view.hpp:44
bool empty() const
Definition: workhint_view.hpp:42
void set_workhint(const value_type &v1, const value_type &v2)
Definition: workhint_view.hpp:30
std::pair< workhint_range_view, workhint_range_view > get_children() const
Definition: workhint_view.hpp:34
constexpr workhint_range_view(global_span< bin_tree_node > s)
Definition: workhint_view.hpp:23
constexpr workhint_range_view() noexcept
Definition: workhint_view.hpp:21
#define ITYR_CHECK(cond)
Definition: util.hpp:48
Definition: allocator.hpp:16
Definition: workhint_view.hpp:16
value_type right_work
Definition: workhint_view.hpp:18
value_type left_work
Definition: workhint_view.hpp:17