Loading...
Searching...
No Matches
starpu_mpi_ft.h
Go to the documentation of this file.
/* StarPU --- Runtime system for heterogeneous multicore architectures.
*
* Copyright (C) 2013-2025 University of Bordeaux, CNRS (LaBRI UMR 5800), Inria
*
* StarPU is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* StarPU is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* See the GNU Lesser General Public License in COPYING.LGPL for more details.
*/
#ifndef __STARPU_MPI_FT_H__
#define __STARPU_MPI_FT_H__
#include <starpu.h>
#ifdef __cplusplus
extern "C" {
#endif
struct _starpu_mpi_checkpoint_template;
typedef struct _starpu_mpi_checkpoint_template *starpu_mpi_checkpoint_template_t;
#if defined(STARPU_USE_MPI_FT)
int starpu_mpi_checkpoint_init(void);
int starpu_mpi_checkpoint_shutdown(void);
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, ...);
int starpu_mpi_checkpoint_template_freeze(starpu_mpi_checkpoint_template_t *cp_template);
int starpu_mpi_checkpoint_template_submit(starpu_mpi_checkpoint_template_t cp_template, int prio);
int starpu_mpi_checkpoint_template_print(starpu_mpi_checkpoint_template_t cp_template);
#else // !STARPU_USE_MPI_FT
static inline int starpu_mpi_checkpoint_template_register(starpu_mpi_checkpoint_template_t *cp_template STARPU_ATTRIBUTE_UNUSED, int cp_id STARPU_ATTRIBUTE_UNUSED, int cp_domain STARPU_ATTRIBUTE_UNUSED, ...) { return 0; }
static inline int starpu_mpi_checkpoint_template_create(starpu_mpi_checkpoint_template_t *cp_template STARPU_ATTRIBUTE_UNUSED, int cp_id STARPU_ATTRIBUTE_UNUSED, int cp_domain STARPU_ATTRIBUTE_UNUSED) { return 0; }
static inline int starpu_mpi_checkpoint_template_add_entry(starpu_mpi_checkpoint_template_t *cp_template STARPU_ATTRIBUTE_UNUSED, ...) { return 0; }
static inline int starpu_mpi_checkpoint_template_freeze(starpu_mpi_checkpoint_template_t *cp_template STARPU_ATTRIBUTE_UNUSED) { return 0; }
static inline int starpu_mpi_checkpoint_template_submit(starpu_mpi_checkpoint_template_t cp_template STARPU_ATTRIBUTE_UNUSED, int prio STARPU_ATTRIBUTE_UNUSED) { return 0; }
static inline int starpu_mpi_ft_turn_on(void) { return 0; }
static inline int starpu_mpi_ft_turn_off(void) { return 0; }
static inline int starpu_mpi_checkpoint_template_print(starpu_mpi_checkpoint_template_t cp_template STARPU_ATTRIBUTE_UNUSED) { return 0; }
static inline int starpu_mpi_checkpoint_init(void) { return 0; }
static inline int starpu_mpi_checkpoint_shutdown(void) { return 0; }
#endif // STARPU_USE_MPI_FT
#ifdef __cplusplus
}
#endif
#endif // __STARPU_MPI_FT_H__
starpu_mpi_checkpoint_template_create
int starpu_mpi_checkpoint_template_create(starpu_mpi_checkpoint_template_t *cp_template, int cp_id, int cp_domain)
starpu_mpi_checkpoint_template_register
int starpu_mpi_checkpoint_template_register(starpu_mpi_checkpoint_template_t *cp_template, int cp_id, int cp_domain,...)
starpu_mpi_checkpoint_shutdown
int starpu_mpi_checkpoint_shutdown(void)
starpu_mpi_checkpoint_template_add_entry
int starpu_mpi_checkpoint_template_add_entry(starpu_mpi_checkpoint_template_t *cp_template,...)
starpu_mpi_checkpoint_init
int starpu_mpi_checkpoint_init(void)
starpu_mpi_checkpoint_template_freeze
int starpu_mpi_checkpoint_template_freeze(starpu_mpi_checkpoint_template_t *cp_template)
starpu_mpi_checkpoint_template_submit
int starpu_mpi_checkpoint_template_submit(starpu_mpi_checkpoint_template_t cp_template, int prio)
STARPU_ATTRIBUTE_UNUSED
#define STARPU_ATTRIBUTE_UNUSED
Definition starpu_util.h:84
starpu.h