瀏覽代碼

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
 };