From c7061a857d2e40fa64b90b227a97a66e87fd4004 Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Fri, 9 Sep 2016 16:42:26 +0000 Subject: [PATCH] chameleon: avoid warning about implicit declaration --- example/lapack_to_morse/step7.h | 3 ++- include/morse.h.in | 7 ++++++- timing/timing.c | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/example/lapack_to_morse/step7.h b/example/lapack_to_morse/step7.h index d2029a63f..3e4523809 100644 --- a/example/lapack_to_morse/step7.h +++ b/example/lapack_to_morse/step7.h @@ -29,8 +29,9 @@ /* Common include for all steps of the tutorial */ #include "lapack_to_morse.h" -/* Specific includes for step 6 */ +/* Specific includes for step 7 */ #include <coreblas/include/lapacke.h> +#include <coreblas/include/coreblas.h> #include <morse.h> #if defined(CHAMELEON_USE_MPI) #include <mpi.h> diff --git a/include/morse.h.in b/include/morse.h.in index be279ede5..115984360 100644 --- a/include/morse.h.in +++ b/include/morse.h.in @@ -3,7 +3,7 @@ * @copyright (c) 2009-2014 The University of Tennessee and The University * of Tennessee Research Foundation. * All rights reserved. - * @copyright (c) 2012-2014 Inria. All rights reserved. + * @copyright (c) 2012-2016 Inria. All rights reserved. * @copyright (c) 2012-2015 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved. * **/ @@ -21,6 +21,7 @@ * @author Mathieu Faverge * @author Cedric Augonnet * @author Cedric Castagnede + * @author Florent Pruvost * @date 2012-09-15 * **/ @@ -70,6 +71,10 @@ int MORSE_InitPar (int nworkers, int ncudas, int nthreads_per_worker); int MORSE_Finalize (void); int MORSE_Pause (void); int MORSE_Resume (void); +int MORSE_Distributed_start (void); +int MORSE_Distributed_stop (void); +int MORSE_Comm_size ( int *size ); +int MORSE_Comm_rank ( int *rank ); int MORSE_Lapack_to_Tile (void *Af77, int LDA, MORSE_desc_t *A); int MORSE_Tile_to_Lapack (MORSE_desc_t *A, void *Af77, int LDA); int MORSE_Distributed_start(void); diff --git a/timing/timing.c b/timing/timing.c index dafc8d773..7d5bfa66d 100644 --- a/timing/timing.c +++ b/timing/timing.c @@ -57,6 +57,10 @@ #include <mpi.h> #endif +#if defined (CHAMELEON_SCHED_STARPU) +#include <starpu.h> +#endif + static int RunTest(int *iparam, _PREC *dparam, double *t_); int ISEED[4] = {0,0,0,1}; /* initial seed for zlarnv() */ -- GitLab