Skip to content

Commit

Permalink
Merge remote-tracking branch 'devreal/spmm_constraints' into spmm_con…
Browse files Browse the repository at this point in the history
…straints
  • Loading branch information
evaleev committed Oct 25, 2024
2 parents 45af6ec + 8f94781 commit ea4c690
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/unit/constraints.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,18 @@ TEST_CASE("constraints", "") {
}, ttg::edges(), ttg::edges(e));
bcast->set_keymap([&](){ return world.rank(); });

/**
* Constraints are currently only implemented in the PaRSEC backend.
* Codes using constraints will still compile but they will not
* affect the execution order in other backends.
*/
#ifdef TTG_USE_PARSEC
make_graph_executable(bcast);
ttg::execute(ttg::default_execution_context());
bcast->invoke();

ttg::ttg_fence(ttg::default_execution_context());
#endif // TTG_USE_PARSEC

}
} // TEST_CASE("streams")

0 comments on commit ea4c690

Please sign in to comment.