Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
solving copy_data_callback issue by adding a new smpi function that can be changed...
[simgrid.git] / include / smpi / smpi.h
index 0f30c1a..2713dfa 100644 (file)
@@ -824,6 +824,12 @@ XBT_PUBLIC(void) smpi_sample_1(int global, const char *file, int line, int iters
 XBT_PUBLIC(int) smpi_sample_2(int global, const char *file, int line);
 XBT_PUBLIC(void) smpi_sample_3(int global, const char *file, int line);
 
+/** 
+ * Need a public setter for SMPI copy_callback function, so users can define 
+ * their own while still using default SIMIX_copy_callback for MSG copies.
+ */
+XBT_PUBLIC(void) smpi_comm_set_copy_data_callback(void (*callback));
+
 /** 
  * Functions for call location tracing. These functions will be
  * called from the user's application! (With the __FILE__ and __LINE__ values