From 209580323ba4b12d27e45ca5fa3f72bcefda6899 Mon Sep 17 00:00:00 2001 From: Patrick Diehl Date: Wed, 22 May 2024 14:08:06 -0500 Subject: [PATCH] Update aggregation_executors_and_allocators.hpp to compile with gcc 14 --- .../detail/aggregation_executors_and_allocators.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 32ca93be..a2b8b4b0 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)