From 896615d9134ee023a6a43afbe3af0e42fe261370 Mon Sep 17 00:00:00 2001 From: PRUVOST Florent <florent.pruvost@inria.fr> Date: Wed, 5 Dec 2018 18:48:59 +0100 Subject: [PATCH] avoid to use operator as a variable because it is cxx reserved keyword (API problem) --- include/chameleon.h | 4 ++-- include/chameleon/tasks.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/chameleon.h b/include/chameleon.h index e12a3c593..da34cab2a 100644 --- a/include/chameleon.h +++ b/include/chameleon.h @@ -56,11 +56,11 @@ */ int CHAMELEON_map_Tile( cham_uplo_t uplo, CHAM_desc_t *A, - cham_unary_operator_t operator, + cham_unary_operator_t op_fct, void *op_args ); int CHAMELEON_map_Tile_Async( cham_uplo_t uplo, CHAM_desc_t *A, - cham_unary_operator_t operator, + cham_unary_operator_t op_fct, void *op_args, RUNTIME_sequence_t *sequence, RUNTIME_request_t *request ); diff --git a/include/chameleon/tasks.h b/include/chameleon/tasks.h index b8f91fb21..4bbea7281 100644 --- a/include/chameleon/tasks.h +++ b/include/chameleon/tasks.h @@ -97,7 +97,7 @@ typedef int (*cham_unary_operator_t)( const CHAM_desc_t *desc, void INSERT_TASK_map( const RUNTIME_option_t *options, cham_uplo_t uplo, const CHAM_desc_t *A, int Am, int An, - cham_unary_operator_t operator, void *op_args ); + cham_unary_operator_t op_fct, void *op_args ); #include "chameleon/tasks_z.h" #include "chameleon/tasks_d.h" -- GitLab