Samuel Thibault %!s(int64=10) %!d(string=hai) anos
pai
achega
e38062f84f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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