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

BUG: Stop segmentation fault when Atropos is multi-threaded #1663

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

cookpa
Copy link
Member

@cookpa cookpa commented Jan 22, 2024

Partial fix for #1627.

@ntustison, I tried replacing the local interpolator with a vector of interpolators for each bin at the class level. It improves the performance issue. I initialize the interpolators in the SetInputListSample function, which I think will cause them to stay up to date with respect to the m_HistogramImages, but I'm not sure.

@cookpa
Copy link
Member Author

cookpa commented Jan 22, 2024

Sorry @hjmjohnson, I meant to request @ntustison, though you're welcome to comment of course!

@ntustison
Copy link
Member

Yeah, that should work. Thanks @cookpa .

@cookpa
Copy link
Member Author

cookpa commented Jan 22, 2024

OK thanks @ntustison - I'm going to try to debug/fix the ManifoldParzenWindows model as well, then will merge

@cookpa
Copy link
Member Author

cookpa commented Jan 22, 2024

Tested some more, this actually fixes #1627 , the ManifoldParzenWindows error looks to be unrelated to the multi-threading changes

@cookpa cookpa merged commit 2d4c931 into master Jan 22, 2024
1 check passed
@cookpa cookpa deleted the parzen_windows branch June 11, 2024 15:31
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.

2 participants