Explorar el Código

The starpu_cuda.h header must be included to have STARPU_CUDA_REPORT_ERROR

Cédric Augonnet hace 15 años
padre
commit
cc1b1d735a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      examples/pi/pi.h

+ 1 - 0
examples/pi/pi.h

@@ -18,6 +18,7 @@
 #define __PI_H__
 
 #include <starpu.h>
+#include <starpu_cuda.h>
 #include <stdio.h>
 
 #define NSHOT_PER_TASK	(16*1024*1024ULL)