diff --git a/example/lapack_to_morse/step7.h b/example/lapack_to_morse/step7.h index d2029a63fda9e20135a34ca373c578c5d3e7504e..3e452380944cc2ecf84dfdb484fe91f7549d889f 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 be279ede5bac0024fa08ff47392e906fed76d611..115984360a2a9a11d81f72cb647e69046a4c2001 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 dafc8d7732a52689a904f90aae8d933cf30e9469..7d5bfa66dc8dbe7719839aae1b6ff491e6eea3f5 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() */