ソースを参照

include/starpu_task.h: do not make ABI dependant on OPENMP availability

Nathalie Furmento 10 年 前
コミット
4c3e6a8782
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      include/starpu_task.h

+ 2 - 0
include/starpu_task.h

@@ -200,6 +200,8 @@ struct starpu_task
 	unsigned prefetched;
 #ifdef STARPU_OPENMP
 	struct starpu_omp_task *omp_task;
+#else
+	void *omp_task;
 #endif
 };