Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkrz-sw
yaxt
Commits
82a8ad35
Commit
82a8ad35
authored
May 25, 2021
by
Thomas Jahns
🤸
Browse files
Reduce type-dups in redist repeat.
parent
ee4425c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xt_redist_repeat.c
View file @
82a8ad35
...
...
@@ -134,9 +134,12 @@ xt_redist_repeat_asym_custom_new(Xt_redist redist, MPI_Aint src_extent,
generate_msg_infos
(
msgs
+
nmsg
[
0
],
dst_extent
,
dst_displacements
,
redist
,
num_repetitions
,
comm
,
RECV
);
struct
Xt_config_
config_
=
*
config
;
config_
.
flags
|=
exch_no_dt_dup
;
Xt_redist
result
=
xt_redist_single_array_base_custom_new
(
nmsg
[
SEND
],
nmsg
[
RECV
],
msgs
,
msgs
+
nmsg
[
SEND
],
comm
,
config
);
xt_redist_msgs_free
(
num_messages
,
msgs
,
comm
);
nmsg
[
SEND
],
nmsg
[
RECV
],
msgs
,
msgs
+
nmsg
[
SEND
],
comm
,
&
config
_
);
free
(
msgs
);
xt_mpi_comm_smart_dedup
(
&
comm
,
tag_offset
);
return
result
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment