|
@@ -19,13 +19,25 @@
|
|
|
|
|
|
#include <starpu_mpi.h>
|
|
|
#include <common/list.h>
|
|
|
-#include "starpu_mpi_private.h"
|
|
|
+#include <starpu_mpi_private.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
extern "C"
|
|
|
{
|
|
|
#endif
|
|
|
|
|
|
+struct _starpu_mpi_cp_ack_msg
|
|
|
+{
|
|
|
+ int checkpoint_id;
|
|
|
+ int checkpoint_instance;
|
|
|
+};
|
|
|
+
|
|
|
+struct _starpu_mpi_cp_ack_arg_cb
|
|
|
+{
|
|
|
+ int rank;
|
|
|
+ struct _starpu_mpi_cp_ack_msg msg;
|
|
|
+};
|
|
|
+
|
|
|
LIST_TYPE(_starpu_mpi_checkpoint_template_item,
|
|
|
int type;
|
|
|
void* ptr;
|
|
@@ -129,18 +141,6 @@ static inline int _starpu_mpi_checkpoint_template_freeze(starpu_mpi_checkpoint_t
|
|
|
return cp_template->size;
|
|
|
}
|
|
|
|
|
|
-struct _starpu_mpi_cp_ack_msg
|
|
|
-{
|
|
|
- int checkpoint_id;
|
|
|
- int checkpoint_instance;
|
|
|
-};
|
|
|
-
|
|
|
-struct _starpu_mpi_cp_ack_arg_cb
|
|
|
-{
|
|
|
- int rank;
|
|
|
- struct _starpu_mpi_cp_ack_msg msg;
|
|
|
-};
|
|
|
-
|
|
|
static inline int _starpu_checkpoint_template_free(starpu_mpi_checkpoint_template_t cp_template)
|
|
|
{
|
|
|
struct _starpu_mpi_checkpoint_template_item* item;
|