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 = """