From 4800dcb0f80da8fe315b943c6f447a6e34d9f16a Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Tue, 8 Apr 2025 12:40:18 +0200 Subject: [PATCH] fix compiler error --- lib/walberla/experimental/memory/MemoryTags.hpp | 2 -- src/walberla/codegen/communication/pack_infos.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/walberla/experimental/memory/MemoryTags.hpp b/lib/walberla/experimental/memory/MemoryTags.hpp index 855eb1f..0a26a34 100644 --- a/lib/walberla/experimental/memory/MemoryTags.hpp +++ b/lib/walberla/experimental/memory/MemoryTags.hpp @@ -88,8 +88,6 @@ struct SelectStandardAllocator< memtag::unified > } // namespace detail -using MemTag = memtag::MemTag; - /** * @brief Standard allocator implementation for a given memory tag and value type. * diff --git a/src/walberla/codegen/communication/pack_infos.py b/src/walberla/codegen/communication/pack_infos.py index 84a7466..f262526 100644 --- a/src/walberla/codegen/communication/pack_infos.py +++ b/src/walberla/codegen/communication/pack_infos.py @@ -226,7 +226,7 @@ class GpuPdfFieldPackInfo(CustomGenerator): .inline() .const() .params(dir) - .returns(uint_t)(f"return {self._field.index_shape[0]};"), + .returns(uint_t)(f"return {self._field.index_shape[0]};"), # FIXME: Wrong! ) ) -- GitLab