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

Fix StateMonitr illegal access #298

Merged
merged 3 commits into from
Jun 10, 2022
Merged

Conversation

denisalevi
Copy link
Member

@denisalevi denisalevi commented Jun 10, 2022

Fix bug where reading StateMonitor indices failed because threads had not returned yet and performed illegal memory accesses.

EDIT: Looks like I also added two commits here that ignore a Brian2 test in the test suite (which fails because of a Brian2CUDA warning which is caught in the test). I added a Brian2CUDA compatible test to the test suite.

For too man threads, indexing the monitor indices array failed because
it was performed before thread >= N had returned
@denisalevi denisalevi merged commit 369ae0b into master Jun 10, 2022
@denisalevi denisalevi deleted the fix-statemonitor-illegal-access branch June 10, 2022 22:00
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

1 participant