Commit 14486691 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'cmake/bugfix' into 'master'

bug fix to include include/chameleon_config.h earlier

See merge request !10
parents 06706ac0 b17e158a
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#ifndef _CUDA_BLAS_H_ #ifndef _CUDA_BLAS_H_
#define _CUDA_BLAS_H_ #define _CUDA_BLAS_H_
#include "include/chameleon_config.h"
#if !defined(CHAMELEON_USE_CUDA) #if !defined(CHAMELEON_USE_CUDA)
#error "This file should not be included" #error "This file should not be included"
#endif #endif
...@@ -37,8 +39,6 @@ ...@@ -37,8 +39,6 @@
#include <cuda.h> #include <cuda.h>
#include <cuComplex.h> #include <cuComplex.h>
#include "include/chameleon_config.h"
#if defined(CHAMELEON_USE_CUBLAS_V2) #if defined(CHAMELEON_USE_CUBLAS_V2)
#include <cublas_v2.h> #include <cublas_v2.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment