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

work: account for task_group_base interface change in oneTBB 2022.0.0 #3392

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

mattyjams
Copy link
Contributor

The m_wait_ctx member being used in a narrow band of oneTBB versions was removed in a refactor that went into version v2022.0.0 which was released yesterday:
uxlfoundation/oneTBB@1f52f50

This change accounts for the update in the new version of oneTBB and uses the newly added m_wait_vertex member to access the same context as before.

I am far from an expert in the TBB API or the intricacies of this area of libwork, but wanted to offer this up as it allowed me to successfully build OpenUSD against the latest version of oneTBB. I have not done any performance profiling with the new oneTBB version.

Checklist

[x] I have created this PR based on the dev branch

[x] I have followed the coding conventions

[ ] I have added unit tests that exercise this functionality (Reference:
testing guidelines)

[x] I have verified that all unit tests pass with the proposed changes

[x] I have submitted a signed Contributor License Agreement (Reference:
Contributor License Agreement instructions)

The m_wait_ctx member being used in a narrow band of oneTBB versions
was removed in a refactor that went into the most recent release:
uxlfoundation/oneTBB@1f52f50

This change accounts for the update in the new version of oneTBB and
uses the newly added m_wait_vertex member to access the same context
as before.
@jesschimein
Copy link
Contributor

Filed as internal issue #USD-10388

@jesschimein
Copy link
Contributor

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@asluk asluk added the build Build-related issue/PR label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build-related issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants