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
Introduce smpi::Process
[simgrid.git]
/
src
/
smpi
/
smpi_op.cpp
diff --git
a/src/smpi/smpi_op.cpp
b/src/smpi/smpi_op.cpp
index
8251f94
..
22ac499
100644
(file)
--- a/
src/smpi/smpi_op.cpp
+++ b/
src/smpi/smpi_op.cpp
@@
-234,10
+234,10
@@
void Op::apply(void *invec, void *inoutvec, int *len, MPI_Datatype datatype)
{
if(smpi_privatize_global_variables){//we need to switch as the called function may silently touch global variables
XBT_DEBUG("Applying operation, switch to the right data frame ");
{
if(smpi_privatize_global_variables){//we need to switch as the called function may silently touch global variables
XBT_DEBUG("Applying operation, switch to the right data frame ");
- smpi_switch_data_segment(smpi_process
_
index());
+ smpi_switch_data_segment(smpi_process
()->
index());
}
}
- if(!smpi_process
_get_
replaying()){
+ if(!smpi_process
()->
replaying()){
if(! is_fortran_op_)
this->func_(invec, inoutvec, len, &datatype);
else{
if(! is_fortran_op_)
this->func_(invec, inoutvec, len, &datatype);
else{