/* StarPU --- Runtime system for heterogeneous multicore architectures. * * Copyright (C) 2013-2020 Université de 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. */ #include #include "helper.h" #include #define ARRAY_SIZE 12 int main(int argc, char* argv[]) { starpu_data_handle_t h; starpu_data_handle_t h_array[ARRAY_SIZE]; starpu_mpi_checkpoint_template cp_template; int val = 42; int val2 = 1234; int array[ARRAY_SIZE]; int ret; struct starpu_conf conf; //init array for (int i=0 ; i