소스 검색

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

Samuel Thibault 4 년 전
부모
커밋
2eec1307fe
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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)