瀏覽代碼

Make tests/main/declare_deps_in_callback work with OpenCL.

Cyril Roelandt 13 年之前
父節點
當前提交
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
 };