Browse Source

fix non-cuda build

Samuel Thibault 13 years ago
parent
commit
231a83ecff
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/pipeline/pipeline.c

+ 3 - 0
examples/pipeline/pipeline.c

@@ -33,7 +33,10 @@
 #include <stdint.h>
 #include <semaphore.h>
 #include <common/blas.h>
+
+#ifdef STARPU_USE_CUDA
 #include <cublas.h>
+#endif
 
 #define FPRINTF(ofile, fmt, args ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ##args); }} while(0)