Samuel Thibault 10 år sedan
förälder
incheckning
e38062f84f
1 ändrade filer med 2 tillägg och 2 borttagningar
  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