diff --git a/include/cppuddle/kernel_aggregation/detail/aggregation_executors_and_allocators.hpp b/include/cppuddle/kernel_aggregation/detail/aggregation_executors_and_allocators.hpp index 32ca93b..a2b8b4b 100644 --- a/include/cppuddle/kernel_aggregation/detail/aggregation_executors_and_allocators.hpp +++ b/include/cppuddle/kernel_aggregation/detail/aggregation_executors_and_allocators.hpp @@ -394,7 +394,7 @@ class allocator_slice; template class aggregated_executor { private: //=============================================================================== - // Misc private avariables: + // Misc private variables: // std::atomic slices_exhausted; @@ -432,8 +432,8 @@ template class aggregated_executor { /// How many slices are there overall - required to check the launch /// criteria const size_t number_slices; - const size_t max_slices; - const size_t id; + size_t max_slices; + size_t id; using executor_t = Executor; executor_slice(aggregated_executor &parent, const size_t slice_id, const size_t number_slices, const size_t max_number_slices)