From cd6f1332ebbd94338cb78f749e3e64c1809f926b Mon Sep 17 00:00:00 2001
From: Philipp Suffa <philipp.suffa@fau.de>
Date: Mon, 18 Dec 2023 16:20:45 +0100
Subject: [PATCH] Small change in 03_AdvancedLBMCodegen.cpp to avoid
 GPU-Local-Communication-Error

---
 apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp b/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp
index 0d57d5943..2dbeb9c8e 100644
--- a/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp
+++ b/apps/tutorials/codegen/03_AdvancedLBMCodegen.cpp
@@ -203,7 +203,7 @@ int main(int argc, char** argv)
    // Communication
 #if defined(WALBERLA_BUILD_WITH_GPU_SUPPORT)
    const bool sendDirectlyFromGPU = false;
-   gpu::communication::UniformGPUScheme< Stencil_T > com(blocks, sendDirectlyFromGPU);
+   gpu::communication::UniformGPUScheme< Stencil_T > com(blocks, sendDirectlyFromGPU,  false);
    com.addPackInfo(make_shared< PackInfo_T >(pdfFieldId));
    auto communication = std::function< void() >([&]() { com.communicate(); });
 #else
-- 
GitLab