18 #if !defined(__FLECSI_PRIVATE__) 19 #error Do not include this file directly 67 constexpr
size_t task_attributes_bits = 8;
68 constexpr
size_t task_type_bits = 3;
70 using task_attributes_bitset_t = std::bitset<task_attributes_bits>;
73 mask_to_task_type(
size_t mask) {
78 mask_to_processor_type(
size_t mask) {
79 const size_t processor_mask = mask >> task_type_bits;
89 leaf_task(task_attributes_bitset_t
const & bs) {
90 return bs[
static_cast<size_t>(task_type_t::leaf)];
94 inner_task(task_attributes_bitset_t
const & bs) {
95 return bs[
static_cast<size_t>(task_type_t::inner)];
99 idempotent_task(task_attributes_bitset_t
const & bs) {
100 return bs[
static_cast<size_t>(task_type_t::idempotent)];
task_processor_type_t
Definition: task_attributes.hh:60
task_attributes_mask_t
Definition: task_attributes.hh:39
static constexpr uint32_t index(const uint32_t b)
Definition: debruijn.hh:89
task_type_t
Definition: task_attributes.hh:54
Definition: control.hh:31