Skip to content

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 requested review from brad0, shiltian and kkwli April 24, 2024 20:49
@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
@xingxue-ibm xingxue-ibm deleted the detect-smt branch April 1, 2025 20:43
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.

2 participants