-
Notifications
You must be signed in to change notification settings - Fork 41
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
3126: Fix OpenCl and covariance issues #3129
Conversation
I've tested the Mac installer. The issue I reported earlier seems to be solved but it hangs on building documentation. (I gave up after 30min and forced it to quit). |
That shouldn't be triggering at that point. The doc generation should only be active for plugin models. I'm guessing this is on Mac? |
Merging this for now while I investigate the documentation issue |
Never mind - no approvals yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the functionality, and it works fine. I cannot asses code quickly - sorry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, it's my understanding that you've made it so GPU options go through the same kind of staging process as the other options. This seems sensible.
It looks like this will stop random errors from other preferences, but it will still cause errors if you change the GPU options. If this is acceptable, then it seems fine,
I've added some other changes, mostly stylistic. I would very much like to see the bias one done, and the reshape one would be much neater.
I'm going to approve so things are not held up though.
Thanks for the review, @lucas-wilkins. I incorporated most of your suggestions. Have one last look and merge if you think it is ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality test of actions/runs/11467760172 on W10/x64.
Tried single parameter fits with/out OpenCl and with/out DREAM. No sign of the errors reported by @wpotrzebowski . LGTM.
Description
Any change to a preference was triggering an OpenCL environment reset, which was resulting in an OpenCL error when rerunning fits. This also fixes the tuple out of range issue noted by @wpotrzebowski in #3122 (comment).
Fixes #3126
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Review Checklist:
Documentation (check at least one)
Installers
Licencing (untick if necessary)