From e7baaf73b47166d70e26dbe2e229bdcd078a56c4 Mon Sep 17 00:00:00 2001 From: "Fu-Chiang, Chang" Date: Fri, 15 Sep 2023 23:27:18 +0800 Subject: [PATCH] Fixed the window size configuration in window creation --- dace/libraries/mpi/nodes/win_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dace/libraries/mpi/nodes/win_create.py b/dace/libraries/mpi/nodes/win_create.py index e3f7ba10d0..7abfc02b96 100644 --- a/dace/libraries/mpi/nodes/win_create.py +++ b/dace/libraries/mpi/nodes/win_create.py @@ -29,7 +29,7 @@ def expansion(node, parent_state, parent_sdfg, **kwargs): code = f""" MPI_Win_create(_win_buffer, - {win_buf_count_str}, + {win_buf_count_str} * sizeof({win_buffer_dtype}), sizeof({win_buffer_dtype}), MPI_INFO_NULL, {comm},