瀏覽代碼

fix warning

Samuel Thibault 10 年之前
父節點
當前提交
e38062f84f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/util/openmp_runtime_support.h

+ 2 - 2
src/util/openmp_runtime_support.h

@@ -228,10 +228,10 @@ LIST_TYPE(starpu_omp_task,
 
 	/* actual task function to be run */
 	void (*cpu_f)(void **starpu_buffers, void *starpu_cl_arg);
-#if STARPU_USE_CUDA
+#ifdef STARPU_USE_CUDA
 	void (*cuda_f)(void **starpu_buffers, void *starpu_cl_arg);
 #endif
-#if STARPU_USE_OPENCL
+#ifdef STARPU_USE_OPENCL
 	void (*opencl_f)(void **starpu_buffers, void *starpu_cl_arg);
 #endif