소스 검색

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
 };