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
Make cleanupSurf() private.
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_global.cpp
diff --git
a/src/smpi/internals/smpi_global.cpp
b/src/smpi/internals/smpi_global.cpp
index
e71ce0e
..
c8253ee
100644
(file)
--- a/
src/smpi/internals/smpi_global.cpp
+++ b/
src/smpi/internals/smpi_global.cpp
@@
-168,7
+168,7
@@
static void check_blocks(std::vector<std::pair<size_t, size_t>> &private_blocks,
void smpi_comm_copy_buffer_callback(smx_activity_t synchro, void *buff, size_t buff_size)
{
simgrid::kernel::activity::CommImplPtr comm =
void smpi_comm_copy_buffer_callback(smx_activity_t synchro, void *buff, size_t buff_size)
{
simgrid::kernel::activity::CommImplPtr comm =
- boost::
dynam
ic_pointer_cast<simgrid::kernel::activity::CommImpl>(synchro);
+ boost::
stat
ic_pointer_cast<simgrid::kernel::activity::CommImpl>(synchro);
int src_shared = 0;
int dst_shared = 0;
size_t src_offset = 0;
int src_shared = 0;
int dst_shared = 0;
size_t src_offset = 0;
@@
-488,7
+488,7
@@
static smpi_entry_point_type smpi_resolve_function(void* handle)
return smpi_entry_point_type();
}
return smpi_entry_point_type();
}
-static void smpi_copy_file(
std::string src, std::string
target, off_t fdin_size)
+static void smpi_copy_file(
const std::string& src, const std::string&
target, off_t fdin_size)
{
int fdin = open(src.c_str(), O_RDONLY);
xbt_assert(fdin >= 0, "Cannot read from %s. Please make sure that the file exists and is executable.", src.c_str());
{
int fdin = open(src.c_str(), O_RDONLY);
xbt_assert(fdin >= 0, "Cannot read from %s. Please make sure that the file exists and is executable.", src.c_str());