From 75e821c9a697af021a63cca2e59abbcd0958399a Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Mon, 11 Oct 2021 19:11:56 +0200
Subject: [PATCH] quark: Fix the dag generation. task_flags do not longer
 exists (Thanks @ltaief)

---
 runtime/quark/include/core_blas_dag.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/runtime/quark/include/core_blas_dag.h b/runtime/quark/include/core_blas_dag.h
index cfc82f227..dd55bf284 100644
--- a/runtime/quark/include/core_blas_dag.h
+++ b/runtime/quark/include/core_blas_dag.h
@@ -22,9 +22,9 @@
 #define _core_blas_dag_h_
 
 #if defined(QUARK_DOT_DAG_ENABLE) /* || 1 */
-#define DAG_SET_PROPERTIES( _name, _color )                            \
-  QUARK_Task_Flag_Set(task_flags, TASK_LABEL, (intptr_t)(_name));      \
-  QUARK_Task_Flag_Set(task_flags, TASK_COLOR, (intptr_t)(_color));
+#define DAG_SET_PROPERTIES( _name, _color )                             \
+    QUARK_Task_Flag_Set( (Quark_Task_Flags*)opt, TASK_LABEL, (intptr_t)(_name)  ); \
+    QUARK_Task_Flag_Set( (Quark_Task_Flags*)opt, TASK_COLOR, (intptr_t)(_color) );
 #else
 #define DAG_SET_PROPERTIES( _name, _color )
 #endif
-- 
GitLab