From 21c9d5fe2294b4692f68b49ac6f5b89d8eefd46c Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Tue, 25 Sep 2018 11:33:46 +0200
Subject: [PATCH] Fix compilation issue

---
 runtime/parsec/codelets/codelet_map.c | 4 ++--
 runtime/quark/codelets/codelet_map.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/runtime/parsec/codelets/codelet_map.c b/runtime/parsec/codelets/codelet_map.c
index 8c62ab82a..681d2588b 100644
--- a/runtime/parsec/codelets/codelet_map.c
+++ b/runtime/parsec/codelets/codelet_map.c
@@ -46,8 +46,8 @@ void INSERT_TASK_map( const RUNTIME_option_t *options,
         PARSEC_dtd_taskpool, CORE_map_parsec, options->priority, "map",
         sizeof(CHAM_desc_t*),             &A,    VALUE,
         sizeof(cham_uplo_t),              &uplo, VALUE,
-        sizeof(int),                      &m,    VALUE,
-        sizeof(int),                      &n,    VALUE,
+        sizeof(int),                      &Am,   VALUE,
+        sizeof(int),                      &An,   VALUE,
         PASSED_BY_REF, RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), chameleon_parsec_get_arena_index( A ) | INOUT,
         sizeof(cham_unary_operator_t),    &operator, VALUE,
         sizeof(void*),                    &op_args,  VALUE,
diff --git a/runtime/quark/codelets/codelet_map.c b/runtime/quark/codelets/codelet_map.c
index 3506746d3..cbfc6b12f 100644
--- a/runtime/quark/codelets/codelet_map.c
+++ b/runtime/quark/codelets/codelet_map.c
@@ -40,8 +40,8 @@ void INSERT_TASK_map( const RUNTIME_option_t *options,
     QUARK_Insert_Task(opt->quark, CORE_map_quark, (Quark_Task_Flags*)opt,
         sizeof(CHAM_desc_t*),             &A,    VALUE,
         sizeof(cham_uplo_t),              &uplo, VALUE,
-        sizeof(int),                      &m,    VALUE,
-        sizeof(int),                      &n,    VALUE,
+        sizeof(int),                      &Am    VALUE,
+        sizeof(int),                      &An    VALUE,
         sizeof(CHAMELEON_Complex64_t), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INOUT,
         sizeof(cham_unary_operator_t),    &operator, VALUE,
         sizeof(void*),                    &op_args,  VALUE,
-- 
GitLab