Просмотр исходного кода

The starpu_cuda.h header must be included to have STARPU_CUDA_REPORT_ERROR

Cédric Augonnet лет назад: 15
Родитель
Сommit
cc1b1d735a
1 измененных файлов с 1 добавлено и 0 удалено
  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)