From e8a72234dc585459d2a5dc95ff601e8a212e0b71 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 20 Jan 2026 12:56:14 +0100 Subject: Added Chunk Size deduction for ghost layer --- lib/core/c++/chunk.hpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'lib/core/c++') diff --git a/lib/core/c++/chunk.hpp b/lib/core/c++/chunk.hpp index 223ceec..1950661 100644 --- a/lib/core/c++/chunk.hpp +++ b/lib/core/c++/chunk.hpp @@ -6,26 +6,24 @@ namespace kel { namespace lbm { namespace sch { namespace impl { -template -struct chunk_schema_type_helper { - using Schema = typename chunk_schema_type_helper::Schema; -}; +template> +struct chunk_schema_type_helper; -template -struct chunk_schema_type_helper, saw::tmpl_group> final { - using Schema = FixedArray; +template +struct chunk_schema_type_helper, saw::tmpl_value_group> final { + using Schema = typename chunk_schema_type_helper, saw::tmpl_value_group>::Schema; }; template -struct chunk_schema_type_helper, saw::tmpl_group> final { +struct chunk_schema_type_helper, saw::tmpl_value_group> final { using Schema = FixedArray; }; } -template +template struct Chunk { - using InnerSchema = typename impl::chunk_schema_type_helper::Schema; + using InnerSchema = typename impl::chunk_schema_type_helper>::Schema; }; // Not needed for now -- cgit v1.2.3