Browse Source

fix non-cuda build

Samuel Thibault 10 years ago
parent
commit
ba51c57892
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/drivers/cuda/starpu_cublas.c

+ 2 - 1
src/drivers/cuda/starpu_cublas.c

@@ -18,9 +18,10 @@
 #include <starpu.h>
 #include <starpu_cuda.h>
 #include <common/config.h>
-#include <cublas.h>
 
 #ifdef STARPU_USE_CUDA
+#include <cublas.h>
+
 static void init_cublas_func(void *args STARPU_ATTRIBUTE_UNUSED)
 {
 	cublasStatus cublasst = cublasInit();