Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix bad private function location
authorFaure Adrien <adrien.faure2@gmail.com>
Tue, 20 Aug 2019 19:21:32 +0000 (21:21 +0200)
committerFaure Adrien <adrien.faure2@gmail.com>
Tue, 20 Aug 2019 19:21:52 +0000 (21:21 +0200)
and fix bad reference to spmi_execute_benched

include/smpi/smpi.h
src/smpi/include/private.hpp
src/smpi/internals/smpi_bench.cpp

index f892ae7..c4e27b8 100644 (file)
@@ -979,7 +979,6 @@ XBT_PUBLIC MPI_Info smpi_process_info_env();
 XBT_PUBLIC void* smpi_process_get_user_data();
 XBT_PUBLIC void smpi_process_set_user_data(void*);
 
-XBT_PRIVATE void private_execute_flops(double flops);
 XBT_PUBLIC void smpi_execute_flops(double flops);
 XBT_PUBLIC void smpi_execute(double duration);
 XBT_PUBLIC void smpi_execute_benched(double duration);
index f4b31ec..1791625 100644 (file)
@@ -482,4 +482,6 @@ enum class SmpiPrivStrategies { NONE = 0, MMAP = 1, DLOPEN = 2, DEFAULT = DLOPEN
 
 extern XBT_PRIVATE SmpiPrivStrategies smpi_privatize_global_variables;
 
+XBT_PRIVATE void private_execute_flops(double flops);
+
 #endif
index 8bf464a..9b89d24 100644 (file)
@@ -38,7 +38,7 @@ double smpi_host_speed;
 SharedMallocType smpi_cfg_shared_malloc = SharedMallocType::GLOBAL;
 double smpi_total_benched_time = 0;
 
-// Private execute_flops used by smpi_execute and spmi_execute benched
+// Private execute_flops used by smpi_execute and spmi_execute_benched
 void private_execute_flops(double flops) {
   xbt_assert(flops >= 0, "You're trying to execute a negative amount of flops (%f)!", flops);
   XBT_DEBUG("Handle real computation time: %f flops", flops);