Explorar o código

fix non-cuda build

Samuel Thibault %!s(int64=13) %!d(string=hai) anos
pai
achega
231a83ecff
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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)