浏览代码

Make tests/main/get_current_task.c work with OpenCL.

Cyril Roelandt 13 年之前
父节点
当前提交
fbff169ef8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/main/get_current_task.c

+ 1 - 1
tests/main/get_current_task.c

@@ -42,9 +42,9 @@ static void check_task_callback(void *arg)
 
 static struct starpu_codelet dummy_cl =
 {
-	.where = STARPU_CUDA|STARPU_CPU,
 	.cuda_funcs = {check_task_func, NULL},
 	.cpu_funcs = {check_task_func, NULL},
+	.opencl_funcs = {check_task_func, NULL},
 	.model = NULL,
 	.nbuffers = 0
 };