Skip to content

Commit

Permalink
Set all test top-level tasks as replicable.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Aug 30, 2024
1 parent c970f23 commit e03dfe5
Show file tree
Hide file tree
Showing 21 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/08_multiple_partitions/multiple_partitions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ int main(int argc, char **argv)
{
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level_task>(registrar, "top_level");
}

Expand Down
1 change: 1 addition & 0 deletions tests/futures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/futures_2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/futures_multiple_checkpoints.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/futures_repeat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/futures_repeat_2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/futures_repeat_3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/futures_repeat_4.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/index_tasks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level_task>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/index_tasks_2d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level_task>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/index_tasks_3d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level_task>(registrar, "top_level");
}

Expand Down
1 change: 1 addition & 0 deletions tests/partition_equal_1d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/partition_equal_1d_2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(0, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/partition_equal_1d_3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(0, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/partition_equal_2d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(0, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/partition_equal_3d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(0, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/partition_field.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/partition_image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/partition_preimage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(TOP_LEVEL_TASK_ID, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/region.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(0, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down
1 change: 1 addition & 0 deletions tests/region_destroy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ int main(int argc, char **argv) {
TaskVariantRegistrar registrar(0, "top_level");
registrar.add_constraint(ProcessorConstraint(Processor::LOC_PROC));
registrar.set_inner();
registrar.set_replicable();
Runtime::preregister_task_variant<top_level>(registrar, "top_level");
}
{
Expand Down

0 comments on commit e03dfe5

Please sign in to comment.