From b17e158ac735684f04b38e55e5ada67d63b09497 Mon Sep 17 00:00:00 2001
From: Nathalie Furmento <nathalie.furmento@labri.fr>
Date: Mon, 16 Jan 2017 16:23:08 +0100
Subject: [PATCH] bug fix to include include/chameleon_config.h earlier

---
 cudablas/include/cudablas.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cudablas/include/cudablas.h b/cudablas/include/cudablas.h
index f912f315c..d6c2004fe 100644
--- a/cudablas/include/cudablas.h
+++ b/cudablas/include/cudablas.h
@@ -25,6 +25,8 @@
 #ifndef _CUDA_BLAS_H_
 #define _CUDA_BLAS_H_
 
+#include "include/chameleon_config.h"
+
 #if !defined(CHAMELEON_USE_CUDA)
 #error "This file should not be included"
 #endif
@@ -37,8 +39,6 @@
 #include <cuda.h>
 #include <cuComplex.h>
 
-#include "include/chameleon_config.h"
-
 #if defined(CHAMELEON_USE_CUBLAS_V2)
 
 #include <cublas_v2.h>
-- 
GitLab