Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Tobias Weinzierl
teaMPI
Commits
abc54a73
Commit
abc54a73
authored
Feb 10, 2021
by
Philipp Samfaß samfass@in.tum.de (4915739314827)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated wrapper
parent
7de6b027
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/Wrapper.cpp
lib/Wrapper.cpp
+4
-4
No files found.
lib/Wrapper.cpp
View file @
abc54a73
...
...
@@ -265,8 +265,8 @@ int MPI_Send_offload(const void *buf, int count, MPI_Datatype datatype, int dest
#if COMMUNICATION_MODE==0
return
smpi_send_offload_p2p
(
buf
,
count
,
datatype
,
translateRank
(
comm
,
dest
,
_comm
),
tag
,
comm
,
rail
);
#elif COMMUNICATION_MODE==
1
return
smpi_send_offload_
rma
(
buf
,
count
,
datatype
,
translateRank
(
comm
,
dest
,
_comm
),
tag
,
comm
,
rail
);
#elif COMMUNICATION_MODE==
2
return
smpi_send_offload_
gpi
(
buf
,
count
,
datatype
,
translateRank
(
comm
,
dest
,
_comm
),
tag
,
comm
,
rail
);
#endif
}
...
...
@@ -274,9 +274,9 @@ int MPI_Recv_offload(void *buf, int count, MPI_Datatype datatype, int source, in
#if COMMUNICATION_MODE==0
int
ierr
=
smpi_recv_offload_p2p
(
buf
,
count
,
datatype
,
translateRank
(
comm
,
source
,
_comm
),
tag
,
comm
,
stat
,
rail
);
return
ierr
;
#elif COMMUNICATION_MODE==
1
#elif COMMUNICATION_MODE==
2
//return smpi_recv_offload_rma(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat);
return
smpi_recv_offload_
rma
(
buf
,
count
,
datatype
,
translateRank
(
comm
,
source
,
_comm
),
tag
,
comm
,
stat
,
rail
);
return
smpi_recv_offload_
gpi
(
buf
,
count
,
datatype
,
translateRank
(
comm
,
source
,
_comm
),
tag
,
comm
,
stat
,
rail
);
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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