Skip to content

Commit 121bb5d

Browse files
authored
490 dynamic scheduling for regular loop (#41)
This MR reviews all uses of the dynamic schedule and replaces it with a static schedule (through `grb::config::OMP::localRange`) in case the loop is determined to be regular. In all irregular loop cases, documentation has been added with rationale as per the schedule choice, as well as for cases where the choice is not clear-cut. This MR also modifies the following unrelated behaviour: - eWise{Map,Lambda} no longer serialise lambda invocations when `_DEBUG` is defined. Rationale: if this is desired, the user can add this to the lambda itself-- by default, it is desirable that lambdas run concurrently in order to diagnose any data race issues, for example. As always, this MR includes some code style fixes throughout all files touched.
1 parent 85beb17 commit 121bb5d

File tree

5 files changed

+209
-114
lines changed

5 files changed

+209
-114
lines changed

0 commit comments

Comments
 (0)