A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[smpi] Use SMPI namespace for some public variables/functions
[simgrid.git]
/
src
/
smpi
/
smpi_mpi_dt.c
diff --git
a/src/smpi/smpi_mpi_dt.c
b/src/smpi/smpi_mpi_dt.c
index
07bec7c
..
cd0f586
100644
(file)
--- a/
src/smpi/smpi_mpi_dt.c
+++ b/
src/smpi/smpi_mpi_dt.c
@@
-213,7
+213,7
@@
int smpi_datatype_copy(void *sendbuf, int sendcount, MPI_Datatype sendtype,
{
int count;
if(smpi_privatize_global_variables){
- switch_data_segment(smpi_process_index());
+ s
mpi_s
witch_data_segment(smpi_process_index());
}
/* First check if we really have something to do */
if (recvcount > 0 && recvbuf != sendbuf) {
@@
-1617,7
+1617,7
@@
void smpi_op_apply(MPI_Op op, void *invec, void *inoutvec, int *len,
{
if(smpi_privatize_global_variables){ //we need to switch here, as the called function may silently touch global variables
XBT_VERB("Applying operation, switch to the right data frame ");
- switch_data_segment(smpi_process_index());
+ s
mpi_s
witch_data_segment(smpi_process_index());
}
if(!_xbt_replay_is_active())