Explorar o código

Make tests/main/declare_deps_in_callback work with OpenCL.

Cyril Roelandt %!s(int64=13) %!d(string=hai) anos
pai
achega
032edd79a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 };