Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add option "smpi/auto-shared-malloc-thresh"
authorAugustin Degomme <adegomme@gmail.com>
Tue, 19 Nov 2019 12:56:26 +0000 (13:56 +0100)
committerAugustin Degomme <adegomme@gmail.com>
Tue, 19 Nov 2019 14:35:26 +0000 (15:35 +0100)
commitebf52365999da9055076015c4d0296effd224795
tree1dbbbe79e9828cbbc272fd3d769083ba94501f78
parent3900b29f1b0eba8ddc4cbc477dfade991386a7ca
add option "smpi/auto-shared-malloc-thresh"
This applies smpi_shared_malloc automatically to all allocations above a certain size.
Test based on the sample-shared one: malloc >= 8bytes is indeed shared, without using macros.

todo: calloc and co.
include/smpi/sampi.h
include/smpi/smpi.h
include/smpi/smpi_helpers.h
include/smpi/smpi_helpers_internal.h
src/simgrid/sg_config.cpp
src/smpi/internals/smpi_shared.cpp
teshsuite/smpi/CMakeLists.txt
teshsuite/smpi/auto-shared/auto-shared.c [new file with mode: 0644]
teshsuite/smpi/auto-shared/auto-shared.tesh [new file with mode: 0644]