From 5353c7c6e73b1be326883829ff32782a4f6f0c7a Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 22 May 2015 17:52:27 +0000
Subject: [PATCH] change file names to avoid confusion with files coming from
 chameleon/control

---
 runtime/quark/CMakeLists.txt                     | 16 ++++++++--------
 .../quark/control/{async.c => runtime_async.c}   | 10 +++++-----
 .../control/{context.c => runtime_context.c}     |  2 +-
 .../control/{control.c => runtime_control.c}     |  2 +-
 .../{descriptor.c => runtime_descriptor.c}       |  2 +-
 .../control/{options.c => runtime_options.c}     |  2 +-
 .../control/{profiling.c => runtime_profiling.c} |  2 +-
 .../control/{zlocality.c => runtime_zlocality.c} |  2 +-
 .../{zprofiling.c => runtime_zprofiling.c}       |  2 +-
 9 files changed, 20 insertions(+), 20 deletions(-)
 rename runtime/quark/control/{async.c => runtime_async.c} (84%)
 rename runtime/quark/control/{context.c => runtime_context.c} (98%)
 rename runtime/quark/control/{control.c => runtime_control.c} (98%)
 rename runtime/quark/control/{descriptor.c => runtime_descriptor.c} (97%)
 rename runtime/quark/control/{options.c => runtime_options.c} (98%)
 rename runtime/quark/control/{profiling.c => runtime_profiling.c} (98%)
 rename runtime/quark/control/{zlocality.c => runtime_zlocality.c} (97%)
 rename runtime/quark/control/{zprofiling.c => runtime_zprofiling.c} (97%)

diff --git a/runtime/quark/CMakeLists.txt b/runtime/quark/CMakeLists.txt
index fc1882d6e..25fe19568 100644
--- a/runtime/quark/CMakeLists.txt
+++ b/runtime/quark/CMakeLists.txt
@@ -62,8 +62,8 @@ add_custom_target(runtime_quark_include ALL SOURCES ${RUNTIME_HDRS})
 # -----------------------------------------------------
 set(RUNTIME_COMMON_GENERATED "")
 set(ZSRC
-    control/zprofiling.c
-    control/zlocality.c
+    control/runtime_zprofiling.c
+    control/runtime_zlocality.c
     )
 
 precisions_rules_py(RUNTIME_COMMON_GENERATED "${ZSRC}"
@@ -71,12 +71,12 @@ precisions_rules_py(RUNTIME_COMMON_GENERATED "${ZSRC}"
                     TARGETDIR "control")
 
 set(RUNTIME_COMMON
-    control/async.c
-    control/context.c
-    control/control.c
-    control/descriptor.c
-    control/options.c
-    control/profiling.c
+    control/runtime_async.c
+    control/runtime_context.c
+    control/runtime_control.c
+    control/runtime_descriptor.c
+    control/runtime_options.c
+    control/runtime_profiling.c
     codelets/codelet_dataflush.c
     ${RUNTIME_COMMON_GENERATED}
     )
diff --git a/runtime/quark/control/async.c b/runtime/quark/control/runtime_async.c
similarity index 84%
rename from runtime/quark/control/async.c
rename to runtime/quark/control/runtime_async.c
index 27e6be3cb..8b7fc2c78 100644
--- a/runtime/quark/control/async.c
+++ b/runtime/quark/control/runtime_async.c
@@ -10,7 +10,7 @@
 
 /**
  *
- * @file async.c
+ * @file runtime_async.c
  *
  *  MORSE async routines
  *  MORSE is a software package provided by Univ. of Tennessee,
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include "runtime/quark/include/morse_quark.h"
 
-/*******************************************************************************
+/** *****************************************************************************
  *  Create a sequence
  **/
 int RUNTIME_sequence_create(MORSE_context_t *morse, MORSE_sequence_t *sequence)
@@ -41,7 +41,7 @@ int RUNTIME_sequence_create(MORSE_context_t *morse, MORSE_sequence_t *sequence)
     return MORSE_SUCCESS;
 }
 
-/*******************************************************************************
+/** *****************************************************************************
  *  Destroy a sequence
  **/
 int RUNTIME_sequence_destroy(MORSE_context_t *morse, MORSE_sequence_t *sequence)
@@ -50,7 +50,7 @@ int RUNTIME_sequence_destroy(MORSE_context_t *morse, MORSE_sequence_t *sequence)
     return MORSE_SUCCESS;
 }
 
-/*******************************************************************************
+/** *****************************************************************************
  *  Wait for the completion of a sequence
  **/
 int RUNTIME_sequence_wait(MORSE_context_t *morse, MORSE_sequence_t *sequence )
@@ -59,7 +59,7 @@ int RUNTIME_sequence_wait(MORSE_context_t *morse, MORSE_sequence_t *sequence )
     return MORSE_SUCCESS;
 }
 
-/*******************************************************************************
+/** *****************************************************************************
  *  Terminate a sequence
  **/
 void RUNTIME_sequence_flush(void *quark, MORSE_sequence_t *sequence, MORSE_request_t *request, int status)
diff --git a/runtime/quark/control/context.c b/runtime/quark/control/runtime_context.c
similarity index 98%
rename from runtime/quark/control/context.c
rename to runtime/quark/control/runtime_context.c
index f679ca456..1352ad511 100644
--- a/runtime/quark/control/context.c
+++ b/runtime/quark/control/runtime_context.c
@@ -10,7 +10,7 @@
 
 /**
  *
- * @file context.c
+ * @file runtime_context.c
  *
  *  MORSE auxiliary routines
  *  MORSE is a software package provided by Univ. of Tennessee,
diff --git a/runtime/quark/control/control.c b/runtime/quark/control/runtime_control.c
similarity index 98%
rename from runtime/quark/control/control.c
rename to runtime/quark/control/runtime_control.c
index 1e7722dd2..73f3cbe20 100644
--- a/runtime/quark/control/control.c
+++ b/runtime/quark/control/runtime_control.c
@@ -10,7 +10,7 @@
 
 /**
  *
- * @file control.c
+ * @file runtime_control.c
  *
  *  MORSE auxiliary routines
  *  MORSE is a software package provided by Univ. of Tennessee,
diff --git a/runtime/quark/control/descriptor.c b/runtime/quark/control/runtime_descriptor.c
similarity index 97%
rename from runtime/quark/control/descriptor.c
rename to runtime/quark/control/runtime_descriptor.c
index 9de35f812..0044b6e27 100644
--- a/runtime/quark/control/descriptor.c
+++ b/runtime/quark/control/runtime_descriptor.c
@@ -10,7 +10,7 @@
 
 /**
  *
- * @file descriptor.c
+ * @file runtime_descriptor.c
  *
  *  MORSE auxiliary routines
  *  MORSE is a software package provided by Univ. of Tennessee,
diff --git a/runtime/quark/control/options.c b/runtime/quark/control/runtime_options.c
similarity index 98%
rename from runtime/quark/control/options.c
rename to runtime/quark/control/runtime_options.c
index 58cd6d322..9cd642706 100644
--- a/runtime/quark/control/options.c
+++ b/runtime/quark/control/runtime_options.c
@@ -10,7 +10,7 @@
 
 /**
  *
- * @file options.c
+ * @file runtime_options.c
  *
  *  MORSE auxiliary routines
  *  MORSE is a software package provided by Univ. of Tennessee,
diff --git a/runtime/quark/control/profiling.c b/runtime/quark/control/runtime_profiling.c
similarity index 98%
rename from runtime/quark/control/profiling.c
rename to runtime/quark/control/runtime_profiling.c
index 4665ef93b..76afcc267 100644
--- a/runtime/quark/control/profiling.c
+++ b/runtime/quark/control/runtime_profiling.c
@@ -10,7 +10,7 @@
 
 /**
  *
- * @file profiling.c
+ * @file runtime_profiling.c
  *
  *  MORSE auxiliary routines
  *  MORSE is a software package provided by Univ. of Tennessee,
diff --git a/runtime/quark/control/zlocality.c b/runtime/quark/control/runtime_zlocality.c
similarity index 97%
rename from runtime/quark/control/zlocality.c
rename to runtime/quark/control/runtime_zlocality.c
index 25f0676ba..1cf57754b 100644
--- a/runtime/quark/control/zlocality.c
+++ b/runtime/quark/control/runtime_zlocality.c
@@ -10,7 +10,7 @@
 
 /**
  *
- *  @file zlocality.c
+ *  @file runtime_zlocality.c
  *
  *  MORSE codelets kernel
  *  MORSE is a software package provided by Univ. of Tennessee,
diff --git a/runtime/quark/control/zprofiling.c b/runtime/quark/control/runtime_zprofiling.c
similarity index 97%
rename from runtime/quark/control/zprofiling.c
rename to runtime/quark/control/runtime_zprofiling.c
index f1bf673ae..29fdb7797 100644
--- a/runtime/quark/control/zprofiling.c
+++ b/runtime/quark/control/runtime_zprofiling.c
@@ -10,7 +10,7 @@
 
 /**
  *
- *  @file zprofiling.c
+ *  @file runtime_zprofiling.c
  *
  *  MORSE codelets kernel
  *  MORSE is a software package provided by Univ. of Tennessee,
-- 
GitLab