Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Allow privatization in a more generic way
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 18 Oct 2017 14:38:25 +0000 (16:38 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Mon, 30 Oct 2017 12:26:15 +0000 (13:26 +0100)
commitb5a93cbea5ae4617fea20b19fefcf1b62bea337b
treec21c134ac00a66d6de6147e3668e62b171679b2b
parent5d828a1cf7b707b2ee183f4dd991b21e70949290
[SMPI] Allow privatization in a more generic way

1. We now use a std::set instead of a static array
2. simgrid::smpi::Process::Init() now initializes the global data segment
   by using a (clean) copy of the data segment that we backuped at startup.
   (This is done by calling smpi_init_global_memory_segment_process(), a function
   that contains mostly code that was looped-over before.)
src/smpi/include/private.hpp
src/smpi/internals/smpi_memory.cpp
src/smpi/internals/smpi_process.cpp