Bläddra i källkod

Make tests/main/get_current_task.c work with OpenCL.

Cyril Roelandt 13 år sedan
förälder
incheckning
fbff169ef8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      tests/main/get_current_task.c

+ 1 - 1
tests/main/get_current_task.c

@@ -42,9 +42,9 @@ static void check_task_callback(void *arg)
 
 static struct starpu_codelet dummy_cl =
 {
-	.where = STARPU_CUDA|STARPU_CPU,
 	.cuda_funcs = {check_task_func, NULL},
 	.cpu_funcs = {check_task_func, NULL},
+	.opencl_funcs = {check_task_func, NULL},
 	.model = NULL,
 	.nbuffers = 0
 };