瀏覽代碼

starpu.h: fix include order

Nathalie Furmento 12 年之前
父節點
當前提交
532c5262ea
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      include/starpu.h

+ 4 - 4
include/starpu.h

@@ -35,6 +35,10 @@ typedef unsigned long long uint64_t;
 #include <windows.h>
 #include <windows.h>
 #endif
 #endif
 
 
+#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
+#include <starpu_opencl.h>
+#endif
+
 #include <starpu_util.h>
 #include <starpu_util.h>
 #include <starpu_data.h>
 #include <starpu_data.h>
 #include <starpu_data_interfaces.h>
 #include <starpu_data_interfaces.h>
@@ -59,10 +63,6 @@ extern "C"
 {
 {
 #endif
 #endif
 
 
-#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
-#include <starpu_opencl.h>
-#endif
-
 enum starpu_archtype
 enum starpu_archtype
 {
 {
 	STARPU_CPU_WORKER,    /* CPU core */
 	STARPU_CPU_WORKER,    /* CPU core */