|
@@ -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)
|