From f340a05ae044bd6145942e2e9af6dd885cb83504 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Mon, 20 Feb 2023 23:16:53 +0100
Subject: [PATCH] codelets/runtimes: Add empty skeletons for panel functions in
 other runtimes

---
 runtime/openmp/codelets/codelet_zpanel.c | 60 ++++++++++++++++++++++++
 runtime/parsec/codelets/codelet_zpanel.c | 60 ++++++++++++++++++++++++
 runtime/quark/codelets/codelet_zpanel.c  | 60 ++++++++++++++++++++++++
 3 files changed, 180 insertions(+)
 create mode 100644 runtime/openmp/codelets/codelet_zpanel.c
 create mode 100644 runtime/parsec/codelets/codelet_zpanel.c
 create mode 100644 runtime/quark/codelets/codelet_zpanel.c

diff --git a/runtime/openmp/codelets/codelet_zpanel.c b/runtime/openmp/codelets/codelet_zpanel.c
new file mode 100644
index 000000000..6c321a849
--- /dev/null
+++ b/runtime/openmp/codelets/codelet_zpanel.c
@@ -0,0 +1,60 @@
+/**
+ *
+ * @file openmp/codelet_zpanel.c
+ *
+ * @copyright 2012-2023 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
+ *                      Univ. Bordeaux. All rights reserved.
+ *
+ ***
+ *
+ * @brief Chameleon zpanel OpenMP codelets
+ *
+ * @version 1.2.0
+ * @comment Codelets to perform panel factorization with partial pivoting
+ *
+ * @author Mathieu Faverge
+ * @date 2023-02-21
+ * @precisions normal z -> c d s
+ *
+ */
+#include "chameleon_openmp.h"
+#include "chameleon/tasks_z.h"
+
+void INSERT_TASK_zgetrf_panel_nopiv_percol_diag( const RUNTIME_option_t *options,
+                                                 int m, int n, int k,
+                                                 const CHAM_desc_t *A, int Am, int An,
+                                                 const CHAM_desc_t *U, int Um, int Un,
+                                                 int iinfo )
+{
+    assert( 0 );
+    (void)options;
+    (void)m;
+    (void)n;
+    (void)k;
+    (void)A;
+    (void)Am;
+    (void)An;
+    (void)U;
+    (void)Um;
+    (void)Un;
+    (void)iinfo;
+}
+
+void INSERT_TASK_zgetrf_panel_nopiv_percol_trsm( const RUNTIME_option_t *options,
+                                                 int m, int n, int k,
+                                                 const CHAM_desc_t *A, int Am, int An,
+                                                 const CHAM_desc_t *U, int Um, int Un )
+{
+    assert( 0 );
+    (void)options;
+    (void)m;
+    (void)n;
+    (void)k;
+    (void)A;
+    (void)Am;
+    (void)An;
+    (void)U;
+    (void)Um;
+    (void)Un;
+}
+
diff --git a/runtime/parsec/codelets/codelet_zpanel.c b/runtime/parsec/codelets/codelet_zpanel.c
new file mode 100644
index 000000000..41e9e2b5f
--- /dev/null
+++ b/runtime/parsec/codelets/codelet_zpanel.c
@@ -0,0 +1,60 @@
+/**
+ *
+ * @file parsec/codelet_zpanel.c
+ *
+ * @copyright 2012-2023 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
+ *                      Univ. Bordeaux. All rights reserved.
+ *
+ ***
+ *
+ * @brief Chameleon zpanel Parsec codelets
+ *
+ * @version 1.2.0
+ * @comment Codelets to perform panel factorization with partial pivoting
+ *
+ * @author Mathieu Faverge
+ * @date 2023-02-21
+ * @precisions normal z -> c d s
+ *
+ */
+#include "chameleon_parsec.h"
+#include "chameleon/tasks_z.h"
+
+void INSERT_TASK_zgetrf_panel_nopiv_percol_diag( const RUNTIME_option_t *options,
+                                                 int m, int n, int k,
+                                                 const CHAM_desc_t *A, int Am, int An,
+                                                 const CHAM_desc_t *U, int Um, int Un,
+                                                 int iinfo )
+{
+    assert( 0 );
+    (void)options;
+    (void)m;
+    (void)n;
+    (void)k;
+    (void)A;
+    (void)Am;
+    (void)An;
+    (void)U;
+    (void)Um;
+    (void)Un;
+    (void)iinfo;
+}
+
+void INSERT_TASK_zgetrf_panel_nopiv_percol_trsm( const RUNTIME_option_t *options,
+                                                 int m, int n, int k,
+                                                 const CHAM_desc_t *A, int Am, int An,
+                                                 const CHAM_desc_t *U, int Um, int Un )
+{
+    assert( 0 );
+    (void)options;
+    (void)m;
+    (void)n;
+    (void)k;
+    (void)A;
+    (void)Am;
+    (void)An;
+    (void)U;
+    (void)Um;
+    (void)Un;
+}
+
diff --git a/runtime/quark/codelets/codelet_zpanel.c b/runtime/quark/codelets/codelet_zpanel.c
new file mode 100644
index 000000000..015ea31c7
--- /dev/null
+++ b/runtime/quark/codelets/codelet_zpanel.c
@@ -0,0 +1,60 @@
+/**
+ *
+ * @file quark/codelet_zpanel.c
+ *
+ * @copyright 2012-2023 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
+ *                      Univ. Bordeaux. All rights reserved.
+ *
+ ***
+ *
+ * @brief Chameleon zpanel Quark codelets
+ *
+ * @version 1.2.0
+ * @comment Codelets to perform panel factorization with partial pivoting
+ *
+ * @author Mathieu Faverge
+ * @date 2023-02-21
+ * @precisions normal z -> c d s
+ *
+ */
+#include "chameleon_quark.h"
+#include "chameleon/tasks_z.h"
+
+void INSERT_TASK_zgetrf_panel_nopiv_percol_diag( const RUNTIME_option_t *options,
+                                                 int m, int n, int k,
+                                                 const CHAM_desc_t *A, int Am, int An,
+                                                 const CHAM_desc_t *U, int Um, int Un,
+                                                 int iinfo )
+{
+    assert( 0 );
+    (void)options;
+    (void)m;
+    (void)n;
+    (void)k;
+    (void)A;
+    (void)Am;
+    (void)An;
+    (void)U;
+    (void)Um;
+    (void)Un;
+    (void)iinfo;
+}
+
+void INSERT_TASK_zgetrf_panel_nopiv_percol_trsm( const RUNTIME_option_t *options,
+                                                 int m, int n, int k,
+                                                 const CHAM_desc_t *A, int Am, int An,
+                                                 const CHAM_desc_t *U, int Um, int Un )
+{
+    assert( 0 );
+    (void)options;
+    (void)m;
+    (void)n;
+    (void)k;
+    (void)A;
+    (void)Am;
+    (void)An;
+    (void)U;
+    (void)Um;
+    (void)Un;
+}
+
-- 
GitLab