Ver código fonte

tests/datawizard/interfaces/multiformat/advanced/multiformat_execute_on_a_specific_worker.c: set field where for starpu_codelet

Nathalie Furmento 13 anos atrás
pai
commit
927a34bb65

+ 1 - 0
tests/datawizard/interfaces/multiformat/advanced/multiformat_execute_on_a_specific_worker.c

@@ -32,6 +32,7 @@ static int opencl_worker;
 
 static struct starpu_codelet cl =
 {
+	.where = STARPU_CUDA|STARPU_OPENCL,
 	.modes = { STARPU_RW },
 #ifdef STARPU_USE_CUDA
 	.cuda_funcs = { cuda_func, NULL },