Skip to content

Consolidate TLS stacks in target configuration - #7493

Merged
sklam merged 6 commits into
numba:masterfrom
sklam:enh/refactor_tls_stacks
Oct 20, 2021
Merged

sklam merged 6 commits into
numba:masterfrom
sklam:enh/refactor_tls_stacks

Conversation

@sklam

@sklam sklam commented Oct 18, 2021 •

Copy link
Copy Markdown
Member

Closes #7277

Introduce ThreadLocalStack as common utils for ConfigStack and TargetConfigurationStack

@sklam
sklam marked this pull request as ready for review October 19, 2021 01:53
@sklam sklam added this to the Numba 0.55 RC milestone Oct 19, 2021

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the patch. The refactor looks good, few minor things and a query about _RetargetStack behaviour to resolve but otherwise good to merge. Thanks again!

Comment thread numba/core/utils.py Outdated
Comment thread numba/core/dispatcher.py Outdated
Comment thread numba/core/dispatcher.py
Comment thread numba/core/targetconfig.py Outdated
@stuartarchibald stuartarchibald added 4 - Waiting on author Waiting for author to respond to review Effort - medium Medium size effort needed and removed 3 - Ready for Review labels Oct 19, 2021
Co-authored-by: stuartarchibald <stuartarchibald@users.noreply.github.com>
@sklam sklam added 4 - Waiting on reviewer Waiting for reviewer to respond to author and removed 4 - Waiting on author Waiting for author to respond to review labels Oct 19, 2021

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the patch and fixes!

@stuartarchibald stuartarchibald added 4 - Waiting on CI Review etc done, waiting for CI to finish 5 - Ready to merge Review and testing done, is ready to merge and removed 4 - Waiting on reviewer Waiting for reviewer to respond to author 4 - Waiting on CI Review etc done, waiting for CI to finish labels Oct 19, 2021

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Merge looks clean, thanks.

@sklam
sklam merged commit 4537653 into numba:master Oct 20, 2021
@sklam
sklam deleted the enh/refactor_tls_stacks branch October 20, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge Effort - medium Medium size effort needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: consolidate the TLS stacks used to track target configuration

2 participants