Browse Source

tests/datawizard/lazy_allocation.c: can execute codelet on CPU or CUDA

Nathalie Furmento 14 years ago
parent
commit
1e5302c8e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/datawizard/lazy_allocation.c

+ 1 - 1
tests/datawizard/lazy_allocation.c

@@ -79,7 +79,7 @@ static void check_content_codelet(void *descr[], __attribute__ ((unused)) void *
 }
 
 static starpu_codelet check_content_cl = {
-	.where = STARPU_CPU,
+	.where = STARPU_CPU|STARPU_CUDA,
 	.cpu_func = check_content_codelet,
 #ifdef STARPU_USE_CUDA
 	.cuda_func = check_content_codelet,