Explorar o código

fpga: Fix all-in-one task: it expects data in the main memory

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
2eec1307fe
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tests/fpga/max_fpga.c

+ 3 - 1
tests/fpga/max_fpga.c

@@ -87,7 +87,9 @@ static struct starpu_codelet cl =
 {
 	.fpga_funcs = {fpga_impl},
 	.nbuffers = 3,
-	.modes = {STARPU_R, STARPU_R, STARPU_W}
+	.modes = {STARPU_R, STARPU_R, STARPU_W},
+	.specific_nodes = 1,
+	.nodes = {STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU},
 };
 
 void fpga_impl1(void *buffers[], void *cl_arg)