Procházet zdrojové kódy

Make tests/datawizard/reclaim.c work with OpenCL.

Cyril Roelandt před 14 roky
rodič
revize
bc7dc92109
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tests/datawizard/reclaim.c

+ 1 - 1
tests/datawizard/reclaim.c

@@ -54,9 +54,9 @@ static void dummy_func(void *descr[], __attribute__ ((unused)) void *_args)
 
 static struct starpu_codelet dummy_cl =
 {
-        .where = STARPU_CPU|STARPU_CUDA,
 	.cpu_funcs = {dummy_func, NULL},
 	.cuda_funcs = {dummy_func, NULL},
+	.opencl_funcs = {dummy_func, NULL},
 	.nbuffers = 3,
 	.modes = {STARPU_RW, STARPU_R, STARPU_R}
 };