Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
yaxt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dkrz-sw
yaxt
Commits
9983926d
Commit
9983926d
authored
3 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Annotate internal interfaces as such.
parent
d3f3d5f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xt_exchanger.h
+17
-11
17 additions, 11 deletions
src/xt_exchanger.h
with
17 additions
and
11 deletions
src/xt_exchanger.h
+
17
−
11
View file @
9983926d
...
...
@@ -58,6 +58,8 @@
#include
"xt/xt_core.h"
#include
"xt/xt_request.h"
#include
"xt_redist_internal.h"
#include
"core/ppm_visibility.h"
/** \example test_exchanger_parallel.c
*/
...
...
@@ -84,8 +86,9 @@ struct Xt_exchanger_ {
* @param[in] src_data source data
* @param[out] dat_data destination data
*/
void
xt_exchanger_s_exchange
(
Xt_exchanger
exchanger
,
const
void
*
src_data
,
void
*
dst_data
);
PPM_DSO_INTERNAL
void
xt_exchanger_s_exchange
(
Xt_exchanger
exchanger
,
const
void
*
src_data
,
void
*
dst_data
);
/**
* Executes a asynchronous data exchange.
...
...
@@ -93,9 +96,10 @@ void xt_exchanger_s_exchange(Xt_exchanger exchanger, const void * src_data,
* @param[in] src_data source data
* @param[out] dat_data destination data
*/
void
xt_exchanger_a_exchange
(
Xt_exchanger
exchanger
,
const
void
*
src_data
,
void
*
dst_data
,
Xt_request
*
request
);
PPM_DSO_INTERNAL
void
xt_exchanger_a_exchange
(
Xt_exchanger
exchanger
,
const
void
*
src_data
,
void
*
dst_data
,
Xt_request
*
request
);
/**
* Copies an exchange object.
...
...
@@ -103,13 +107,14 @@ void xt_exchanger_a_exchange(Xt_exchanger exchanger,
* @param[in] new_comm communicator to be used by the new exchanger
* @param[in] new_tag_offset new tag_offset
*/
Xt_exchanger
PPM_DSO_INTERNAL
Xt_exchanger
xt_exchanger_copy
(
Xt_exchanger
orig
,
MPI_Comm
new_comm
,
int
new_tag_offset
);
/**
* Destructor for an exchanger.
*/
void
xt_exchanger_delete
(
Xt_exchanger
);
PPM_DSO_INTERNAL
void
xt_exchanger_delete
(
Xt_exchanger
);
/**
* Support routine, that reorders a number of provided messages, such that
...
...
@@ -120,8 +125,9 @@ void xt_exchanger_delete(Xt_exchanger);
* @remark The first data element in the messages needs to be an integer
* containing the rank.
*/
void
xt_exchanger_internal_optimize
(
size_t
n
,
struct
Xt_redist_msg
*
msgs
,
MPI_Comm
comm
);
PPM_DSO_INTERNAL
void
xt_exchanger_internal_optimize
(
size_t
n
,
struct
Xt_redist_msg
*
msgs
,
MPI_Comm
comm
);
/**
* gets a copy of the MPI_Datatype used for a specificed message
...
...
@@ -134,7 +140,7 @@ void xt_exchanger_internal_optimize(size_t n, struct Xt_redist_msg *msgs,
* @remark returns MPI_DATATYPE_NULL if there is no message matching the
* specificed configuration
*/
MPI_Datatype
PPM_DSO_INTERNAL
MPI_Datatype
xt_exchanger_get_MPI_Datatype
(
Xt_exchanger
exchanger
,
int
rank
,
enum
xt_msg_direction
direction
,
bool
do_dup
);
...
...
@@ -150,7 +156,7 @@ xt_exchanger_get_MPI_Datatype(Xt_exchanger exchanger,
* @remark the user needs to ensure that array ranks is big enough to hold all
* ranks
*/
int
PPM_DSO_INTERNAL
int
xt_exchanger_get_msg_ranks
(
Xt_exchanger
exchanger
,
enum
xt_msg_direction
direction
,
int
*
restrict
*
ranks
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment