|
@@ -42,6 +42,8 @@ typedef struct _starpu_mpi_checkpoint_template* starpu_mpi_checkpoint_template_t
|
|
|
* <li> The argument list must be ended by the value 0.
|
|
|
* </ul>
|
|
|
*/
|
|
|
+
|
|
|
+#ifdef STARPU_USE_MPI_FT
|
|
|
int starpu_mpi_checkpoint_template_register(starpu_mpi_checkpoint_template_t* cp_template, int cp_id, int cp_domain, ...);
|
|
|
int starpu_mpi_checkpoint_template_create(starpu_mpi_checkpoint_template_t* cp_template, int cp_id, int cp_domain);
|
|
|
int starpu_mpi_checkpoint_template_add_entry(starpu_mpi_checkpoint_template_t* cp_template, ...);
|
|
@@ -50,6 +52,16 @@ int starpu_mpi_submit_checkpoint_template(starpu_mpi_checkpoint_template_t cp_te
|
|
|
int starpu_mpi_ft_turn_on(void);
|
|
|
int starpu_mpi_ft_turn_off(void);
|
|
|
int _starpu_mpi_checkpoint_template_print(starpu_mpi_checkpoint_template_t cp_template);
|
|
|
+#else STARPU_USE_MPI_FT
|
|
|
+int starpu_mpi_checkpoint_template_register(starpu_mpi_checkpoint_template_t* cp_template, int cp_id, int cp_domain, ...) {return 0;}
|
|
|
+int starpu_mpi_checkpoint_template_create(starpu_mpi_checkpoint_template_t* cp_template, int cp_id, int cp_domain) {return 0;}
|
|
|
+int starpu_mpi_checkpoint_template_add_entry(starpu_mpi_checkpoint_template_t* cp_template, ...) {return 0;}
|
|
|
+int starpu_mpi_checkpoint_template_freeze(starpu_mpi_checkpoint_template_t* cp_template) {return 0;}
|
|
|
+int starpu_mpi_submit_checkpoint_template(starpu_mpi_checkpoint_template_t cp_template) {return 0;}
|
|
|
+int starpu_mpi_ft_turn_on(void) {return 0;}
|
|
|
+int starpu_mpi_ft_turn_off(void) {return 0;}
|
|
|
+int _starpu_mpi_checkpoint_template_print(starpu_mpi_checkpoint_template_t cp_template) {return 0;}
|
|
|
+#endif
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
}
|