From bbde446270e7f548fc4bdb6de0192f7a2c5f1348 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Wed, 31 Jan 2018 21:12:56 +0100 Subject: [PATCH] Add the missing function to Quark and Parsec --- CMakeLists.txt | 2 +- runtime/parsec/control/runtime_descriptor.c | 8 ++++++++ runtime/quark/control/runtime_descriptor.c | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a2451a259..87f2055a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,7 +103,7 @@ set( RP_CHAMELEON_PRECISIONS "s;d;c;z" ) include(RulesPrecisions) option(CHAMELEON_USE_MIGRATE - "This options enables the data migration in QR algorithms" OFF) + "This options enables the data migration in QR algorithms" ON) # Options to select the runtime # ----------------------------- diff --git a/runtime/parsec/control/runtime_descriptor.c b/runtime/parsec/control/runtime_descriptor.c index 12ac813e8..b11101f44 100644 --- a/runtime/parsec/control/runtime_descriptor.c +++ b/runtime/parsec/control/runtime_descriptor.c @@ -345,6 +345,14 @@ void RUNTIME_data_flush( const MORSE_sequence_t *sequence, return; } +#if defined(CHAMELEON_USE_MIGRATE) +void RUNTIME_data_migrate( const MORSE_sequence_t *sequence, + const MORSE_desc_t *A, int Am, int An, int new_rank ) +{ + (void)sequence; (void)A; (void)Am; (void)An; (void)new_rank; +} +#endif + /******************************************************************************* * Get data addr **/ diff --git a/runtime/quark/control/runtime_descriptor.c b/runtime/quark/control/runtime_descriptor.c index 3832d9926..d0fd7b4f2 100644 --- a/runtime/quark/control/runtime_descriptor.c +++ b/runtime/quark/control/runtime_descriptor.c @@ -91,6 +91,14 @@ RUNTIME_data_flush( const MORSE_sequence_t *sequence, return; } +#if defined(CHAMELEON_USE_MIGRATE) +void RUNTIME_data_migrate( const MORSE_sequence_t *sequence, + const MORSE_desc_t *A, int Am, int An, int new_rank ) +{ + (void)sequence; (void)A; (void)Am; (void)An; (void)new_rank; +} +#endif + void *RUNTIME_data_getaddr( const MORSE_desc_t *desc, int m, int n ) { return desc->get_blkaddr( desc, m, n ); -- GitLab