From cc85d2e8d1771f62dc17d39154cb7385ea6867be Mon Sep 17 00:00:00 2001 From: Jeff Hammond Date: Sun, 30 Jul 2023 10:38:05 +0300 Subject: [PATCH] this is straight up wrong but Cray headers are wrong --- src/apicodegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apicodegen.py b/src/apicodegen.py index e6acec0..5694522 100644 --- a/src/apicodegen.py +++ b/src/apicodegen.py @@ -213,7 +213,7 @@ reduce_ops = ('and', 'or', 'xor', 'max', 'min', 'sum', 'prod') reduce_team = """ -int shmem_{TYPENAME}_{OP}_reduce(shmem_team_t team, {TYPE} *dest, const {TYPE} *source, size_t nreduce); +void shmem_{TYPENAME}_{OP}_reduce(shmem_team_t team, {TYPE} *dest, const {TYPE} *source, size_t nreduce); """ # noqa wait = """