From 3c1112c82dfa8b7c0936dd3478fde32201c1526e Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Mon, 8 Dec 2014 15:23:23 +0000
Subject: [PATCH] add missing headers for install process

---
 control/CMakeLists.txt | 8 ++++++++
 control/common.h       | 5 +++++
 control/descriptor.h   | 1 +
 3 files changed, 14 insertions(+)

diff --git a/control/CMakeLists.txt b/control/CMakeLists.txt
index 363fc1bd9..8566502db 100644
--- a/control/CMakeLists.txt
+++ b/control/CMakeLists.txt
@@ -42,10 +42,14 @@ precisions_rules_py(CHAMELEON_HDRS_GENERATED "${ZHDR}"
 set(CHAMELEON_HDRS
     async.h
     auxiliary.h
+    bulge.h
     common.h
     context.h
     descriptor.h
+    gkkleader.h
+    global.h
     morsewinthread.h
+    tile.h
     workspace.h
     ${CHAMELEON_HDRS_GENERATED}
     )
@@ -57,10 +61,14 @@ add_custom_target(control_include ALL SOURCES ${CHAMELEON_HDRS})
 set(HDR_INSTALL
     async.h
     auxiliary.h
+    bulge.h
     common.h
     context.h
     descriptor.h
+    gkkleader.h
+    global.h
     morsewinthread.h
+    tile.h
     workspace.h
     )
 foreach( hdr_file ${CHAMELEON_HDRS_GENERATED} )
diff --git a/control/common.h b/control/common.h
index f6967be24..32ebb8c8b 100644
--- a/control/common.h
+++ b/control/common.h
@@ -50,6 +50,11 @@
 #include <cuda.h>
 #include <cuda_runtime.h>
 #include <cuda_runtime_api.h>
+//#if defined(CHAMELEON_USE_CUBLAS_V2)
+//#include <cublas_v2.h>
+//#else
+//#include <cublas.h>
+//#endif
 #include <cublas.h>
 #endif
 
diff --git a/control/descriptor.h b/control/descriptor.h
index 9fd9d4cad..96dc163e4 100644
--- a/control/descriptor.h
+++ b/control/descriptor.h
@@ -28,6 +28,7 @@
 
 #include <assert.h>
 #include "morse_struct.h"
+#include "auxiliary.h"
 
 #ifdef __cplusplus
 extern "C" {
-- 
GitLab