Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some more fixes for the communication optimization.
[simgrid.git] / include / smpi / smpi_shared_malloc.hpp
index cf554ae..0f9f745 100644 (file)
@@ -10,7 +10,9 @@
  */
 
 
-XBT_PUBLIC(int) smpi_is_shared(void* ptr, std::vector<std::pair<int, int>> &private_blocks);
+XBT_PUBLIC(int) smpi_is_shared(void* ptr, std::vector<std::pair<int, int>> &private_blocks, int *offset);
 
+std::vector<std::pair<int, int>> shift_and_frame_private_blocks(const std::vector<std::pair<int, int>> vec, int offset, int buff_size);
+std::vector<std::pair<int, int>> merge_private_blocks(std::vector<std::pair<int, int>> src, std::vector<std::pair<int, int>> dst);
 
 #endif