소스 검색

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)