Skip to content

Commit

Permalink
allow reset simple parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Sep 22, 2024
1 parent 9e8a81d commit ec1aa38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/parallel_rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ template <typename S> struct ParallelRule<S> {
frame_<float>()->prefix_can_write = is_root();
} else
throw runtime_error("DataFrame not defined!");
if (comm->para_type & ParallelTypes::Simple)
comm->para_type = comm->para_type ^ ParallelTypes::Simple;
}
virtual ~ParallelRule() = default;
ParallelTypes get_parallel_type() const {
Expand Down

0 comments on commit ec1aa38

Please sign in to comment.