Explorar o código

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

Nathalie Furmento %!s(int64=14) %!d(string=hai) anos
pai
achega
1e5302c8e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,