From 267f6f0b34f5bfb9f241bfc8db3688dd529d6f29 Mon Sep 17 00:00:00 2001 From: "Philip Mueller, CSCS" Date: Mon, 8 Jun 2026 09:51:21 +0200 Subject: [PATCH] This seems to work. --- dace/codegen/targets/cpu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dace/codegen/targets/cpu.py b/dace/codegen/targets/cpu.py index 42d59ed0ff..154001a561 100644 --- a/dace/codegen/targets/cpu.py +++ b/dace/codegen/targets/cpu.py @@ -1295,7 +1295,7 @@ def memlet_definition(self, # so address-of would add an unwanted indirection # that breaks the libnode call (e.g. ``MPI_Bcast`` # expects ``MPI_Comm``, not ``MPI_Comm *``). - result += "{} {} = &{};".format(conntype.ctype, local_name, expr) + result += "auto {} = &{};".format(local_name, expr) else: # Pointer reference result += "{} {} = {};".format(ctypedef, local_name, expr)