Просмотр исходного кода

Make tests/main/declare_deps_in_callback work with OpenCL.

Cyril Roelandt лет назад: 13
Родитель
Сommit
032edd79a9
1 измененных файлов с 1 добавлено и 1 удалено
  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
 };