Skip to content

[OpenMP] Assign thread ids in the cpuinfo topology method #91013

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

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

jpeyton52
Copy link
Contributor

On non-hyperthreaded machines, the thread id is not always explicit in the /proc/cpuinfo file. This patch adds a check to ensure the thread ids are put in.

On non-hyperthreaded machines, the thread id is not always explicit
in the /proc/cpuinfo file. This patch adds a check to ensure the
thread ids are put in.
@jpeyton52 jpeyton52 added the openmp:libomp OpenMP host runtime label May 6, 2024
@jpeyton52 jpeyton52 merged commit 916a915 into llvm:main Jul 29, 2024
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