Procházet zdrojové kódy

Make tests/main/declare_deps_in_callback work with OpenCL.

Cyril Roelandt před 13 roky
rodič
revize
032edd79a9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tests/main/declare_deps_in_callback.c

+ 1 - 1
tests/main/declare_deps_in_callback.c

@@ -44,9 +44,9 @@ static void dummy_func(void *descr[] __attribute__ ((unused)), void *arg __attri
 
 static struct starpu_codelet dummy_codelet = 
 {
-	.where = STARPU_CPU|STARPU_CUDA,
 	.cpu_funcs = {dummy_func, NULL},
 	.cuda_funcs = {dummy_func, NULL},
+	.opencl_funcs = {dummy_func, NULL},
 	.model = NULL,
 	.nbuffers = 0
 };