Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI does not need to have its own userdata pointer anymore
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 14 Jul 2018 17:39:39 +0000 (19:39 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 14 Jul 2018 17:39:43 +0000 (19:39 +0200)
commitb9b0ba08f86e11674ff24a6b7389e7dec2984af3
tree69ea5e5d543b3d8a090e392e25b8021ad2e08f1e
parent23ac05d30d07e710783f95be8c5f15f1b5a6180f
SMPI does not need to have its own userdata pointer anymore

Before, the field of actors were used to store the SMPI data directly,
but now it's free.

With a bit of luck, this change will help StarPU
which fails since a few days, possibly because it tries to get the
userdata from an actor using smpi_process_get_userdata while that
actor is not from SMPI (I'm not sure, that's just a wild guess).

If my guess is right, retriving the userdata from the s4u::Actor will
certainly help. If it's wrong, the change shouldn't harm anything and
it will improve by a tiny bit our memory footprint.
src/smpi/include/smpi_actor.hpp
src/smpi/internals/smpi_actor.cpp
src/smpi/internals/smpi_global.cpp