소스 검색

Make tests/datawizard/reclaim.c work with OpenCL.

Cyril Roelandt 13 년 전
부모
커밋
bc7dc92109
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/datawizard/reclaim.c

+ 1 - 1
tests/datawizard/reclaim.c

@@ -54,9 +54,9 @@ static void dummy_func(void *descr[], __attribute__ ((unused)) void *_args)
 
 static struct starpu_codelet dummy_cl =
 {
-        .where = STARPU_CPU|STARPU_CUDA,
 	.cpu_funcs = {dummy_func, NULL},
 	.cuda_funcs = {dummy_func, NULL},
+	.opencl_funcs = {dummy_func, NULL},
 	.nbuffers = 3,
 	.modes = {STARPU_RW, STARPU_R, STARPU_R}
 };