Przeglądaj źródła

Define CUBLAS functions

Cédric Augonnet 14 lat temu
rodzic
commit
c0be233412
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      examples/axpy/axpy.c

+ 4 - 1
examples/axpy/axpy.c

@@ -20,9 +20,12 @@
 #include <assert.h>
 #include <sys/time.h>
 
-
 #include <common/blas.h>
 
+#ifdef STARPU_USE_CUDA
+#include <cublas.h>
+#endif
+
 #define TYPE	float
 #define AXPY	SAXPY
 #define CUBLASAXPY	cublasSaxpy