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

Use KeyVector for proper wrapping with TBB #603

Merged
merged 2 commits into from
Nov 16, 2020
Merged

Conversation

varunagrawal
Copy link
Collaborator

This fixes #598. All I had to do was replace vector<Key> with KeyVector since the latter supports allocator overloading (which is needed for TBB).

@tmcg0

@varunagrawal varunagrawal added bugfix Fixes an issue or bug matlab Related to MATLAB wrapper quick-review Quick and easy PR to review labels Nov 16, 2020
@varunagrawal varunagrawal self-assigned this Nov 16, 2020
Copy link
Contributor

@akshay-krishnan akshay-krishnan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing it!

@tmcg0
Copy link
Contributor

tmcg0 commented Nov 16, 2020

Woosh, you tracked that down quickly. I was still swimming around in the Boost docs for sp_forward thinking it was something to do with the arguments we were forwarding via Boost. Nice work!

I can confirm that this does fix the problem on my machine. Maybe this fixes some of the other issues sprinkled around that have to do with the wrapper and TBB?

@varunagrawal
Copy link
Collaborator Author

@tmcg0 maybe? I'm going to have to touch base with all the other issue reporters to see if this solves their problem.

@varunagrawal varunagrawal merged commit 5b4979c into develop Nov 16, 2020
@varunagrawal varunagrawal deleted the fix/matlab-tbb branch November 16, 2020 22:48
This was referenced Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes an issue or bug matlab Related to MATLAB wrapper quick-review Quick and easy PR to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pre-4.1 build issue in MATLAB wrapper: possible Boost/TBB incompatibility?
3 participants