Kaynağa Gözat

The starpu_cuda.h header must be included to have STARPU_CUDA_REPORT_ERROR

Cédric Augonnet 15 yıl önce
ebeveyn
işleme
cc1b1d735a
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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)