Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dace/codegen/targets/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down