Explorar o código

Define CUBLAS functions

Cédric Augonnet %!s(int64=15) %!d(string=hai) anos
pai
achega
c0be233412
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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