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
solving copy_data_callback issue by adding a new smpi function that can be changed...
[simgrid.git]
/
src
/
smpi
/
private.h
diff --git
a/src/smpi/private.h
b/src/smpi/private.h
index
30d679f
..
5950b3e
100644
(file)
--- a/
src/smpi/private.h
+++ b/
src/smpi/private.h
@@
-191,6
+191,8
@@
XBT_PRIVATE void smpi_comm_copy_buffer_callback(smx_activity_t comm, void *buff,
XBT_PRIVATE void smpi_comm_null_copy_buffer_callback(smx_activity_t comm, void *buff, size_t buff_size);
XBT_PRIVATE void smpi_comm_null_copy_buffer_callback(smx_activity_t comm, void *buff, size_t buff_size);
+static void (*smpi_comm_copy_data_callback) (smx_activity_t, void*, size_t) = &smpi_comm_copy_buffer_callback;
+
XBT_PRIVATE void print_request(const char *message, MPI_Request request);
XBT_PRIVATE int smpi_enabled();
XBT_PRIVATE void print_request(const char *message, MPI_Request request);
XBT_PRIVATE int smpi_enabled();