Skip to content

Commit 01fa44e

Browse files
committed
Add PARTITIONED_COUNT type
1 parent cad1e4e commit 01fa44e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ompi/mpi/bindings/ompi_bindings/c_type.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ def parameter(self, enable_count=False):
126126
return f'const {count_type} {self.name}[]'
127127

128128

129+
@Type.add_type('PARTITIONED_COUNT')
130+
class TypePartitionedCount(Type):
131+
"""Count type for partitioned communication functions."""
132+
133+
def type_text(self, enable_count=False):
134+
return 'MPI_Count'
135+
136+
129137
@Type.add_type('DISPL_ARRAY')
130138
class TypeDisplArray(Type):
131139

0 commit comments

Comments
 (0)