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

[OpenMP][AIX] Use syssmt() to get the number of SMTs per physical CPU #89985

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

xingxue-ibm
Copy link
Contributor

This patch changes to use system call syssmt() instead of lpar_get_info() to get the number of SMTs (logical processors) per physical processor for AIX. lpar_get_info() gives the max number of SMTs that the physical processor can support while syssmt() returns the number that is currently configured.

@xingxue-ibm xingxue-ibm added the openmp:libomp OpenMP host runtime label Apr 24, 2024
@xingxue-ibm xingxue-ibm self-assigned this Apr 24, 2024
@xingxue-ibm
Copy link
Contributor Author

Thanks, @shiltian!

@xingxue-ibm xingxue-ibm merged commit 690c929 into llvm:main Apr 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomp OpenMP host runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants