瀏覽代碼

The starpu_cuda.h header must be included to have STARPU_CUDA_REPORT_ERROR

Cédric Augonnet 15 年之前
父節點
當前提交
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)