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

Fixed test failures on CPU OpenCL #3003

Merged
merged 1 commit into from
Feb 2, 2021
Merged

Fixed test failures on CPU OpenCL #3003

merged 1 commit into from
Feb 2, 2021

Conversation

peastman
Copy link
Member

@peastman peastman commented Feb 2, 2021

See #2964.

@peastman peastman mentioned this pull request Feb 2, 2021
7 tasks
@jchodera
Copy link
Member

jchodera commented Feb 2, 2021

@peastman Good catch!

Does this just make the error more deterministic, or was there actually a race condition that could have impacted the results to a significant degree?

@peastman
Copy link
Member Author

peastman commented Feb 2, 2021

Neither one. If you were using a CPU implementation of OpenCL, and your CPU only had two cores, the pinned buffer was too small which led to illegal memory access. In any other case, the buffer was large enough so there was no problem.

@peastman peastman merged commit ac67d17 into openmm:master Feb 2, 2021
@peastman peastman deleted the bugs branch February 2, 2021 21:35
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.

None yet

2 participants