Skip to content

Commit dc6e07e

Browse files
authored
Merge pull request pmodels#7360 from raffenet/unflatten-commit
typerep: Call device commit hook when unflattening type Approved-by: Hui Zhou <[email protected]>
2 parents 550e6ec + 5a27aec commit dc6e07e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mpi/datatype/typerep/src/typerep_flatten.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ int MPIR_Typerep_unflatten(MPIR_Datatype * datatype_ptr, void *flattened_type)
132132
MPIR_ERR_CHECK(mpi_errno);
133133
#endif
134134

135+
mpi_errno = MPID_Type_commit_hook(datatype_ptr);
136+
MPIR_ERR_CHECK(mpi_errno);
137+
135138
fn_exit:
136139
return mpi_errno;
137140

0 commit comments

Comments
 (0)