Skip to content

Enable/disable entanglement detection at compile-time in the runtime system#145

Merged
shwestrick merged 4 commits into
MPLLang:masterfrom
shwestrick:runtime-options
Feb 15, 2022
Merged

Enable/disable entanglement detection at compile-time in the runtime system#145
shwestrick merged 4 commits into
MPLLang:masterfrom
shwestrick:runtime-options

Conversation

@shwestrick

Copy link
Copy Markdown
Collaborator

Compile time argument -detect-entanglement true now enables DETECT_ENTANGLEMENT preprocessor flag in the runtime system, letting us selectively disable entanglement detection code.

This is now used for the following, which are only enabled when -detect-entanglement true is passed at compile time.

  1. With entanglement detection on, threads additionally store a list of ancestor synchronization depths (for the DePa algorithm).
  2. With entanglement detection on, the scheduler reverts to sequential at large depths, to ensure our initial implementation of DePa doesn't need large strand identifiers.

This patch also removes the old LTO runtime, which we don't use anymore.

@shwestrick shwestrick merged commit 557970e into MPLLang:master Feb 15, 2022
shwestrick added a commit that referenced this pull request Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant