Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm: Check for correct use of get_{param,state}_ptr helpers #2198

Merged
merged 4 commits into from
Nov 10, 2021

Conversation

jvesely
Copy link
Collaborator

@jvesely jvesely commented Nov 10, 2021

Pass the mechanism params and state when retrieving DDM mechanism random state
Use correct helper to get composition state.
Add state id for autodiff optimizer state.
Add basic sanity checks to get_{param,state}_ptr helpers.

@jvesely jvesely added the compiler Runtime Compiler label Nov 10, 2021
…ting

The 'params' in this context refers to the parameter structure of the
invoked function. Instead we need to pass the mechanism's parameters.

Fixes 9b2ab4f ("llvm: Add helper
function to retrieve and optionally reseed random state")

Add comment about seed floating point type.

Signed-off-by: Jan Vesely <[email protected]>
@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

1 similar comment
@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely jvesely changed the title llvm, mechanisms/DDM: Pass correct parameter structure for seed resetting llvm: Check for correct use of get_{param,state}_ptr helpers Nov 10, 2021
@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely jvesely merged commit 91f710a into PrincetonUniversity:devel Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Runtime Compiler
Projects
Development

Successfully merging this pull request may close these issues.

1 participant