浏览代码

max: Drop spurious change

Samuel Thibault 4 年之前
父节点
当前提交
670faf0d29
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 3 5
      tests/fpga/max_fpga_mux.c

+ 3 - 5
tests/fpga/max_fpga_mux.c

@@ -124,7 +124,7 @@ static struct starpu_codelet cl1 =
 	.nbuffers = 3,
 	.modes = {STARPU_R, STARPU_R, STARPU_W},
 	.specific_nodes = 1,
-	.nodes = {STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU},
+	.nodes = {STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_LOCAL},
 };
 
 void fpga_impl2(void *buffers[], void *cl_arg)
@@ -172,10 +172,8 @@ static struct starpu_codelet cl2 =
 {
  	.fpga_funcs = {fpga_impl2},
 	.nbuffers = 3,
-	.modes = {STARPU_R, STARPU_R, STARPU_W},
+	.modes = {STARPU_R, STARPU_R, STARPU_W}
 	/* local by default */
-	.specific_nodes = 1,
-	.nodes = {STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU},
 };
 
 void fpga_impl3(void *buffers[], void *cl_arg)
@@ -225,7 +223,7 @@ static struct starpu_codelet cl3 =
 	.nbuffers = 3,
 	.modes = {STARPU_R, STARPU_R, STARPU_W},
 	.specific_nodes = 1,
-	.nodes = {STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU, STARPU_SPECIFIC_NODE_CPU},
+	.nodes = {STARPU_SPECIFIC_NODE_LOCAL, STARPU_SPECIFIC_NODE_LOCAL, STARPU_SPECIFIC_NODE_CPU},
 };
 
 int main(int argc, char **argv)