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

GOMP_CPU_AFFINITY stops multithreading #85

Open
GoogleCodeExporter opened this issue Mar 15, 2016 · 1 comment
Open

GOMP_CPU_AFFINITY stops multithreading #85

GoogleCodeExporter opened this issue Mar 15, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
(say we have 6-core CPU)
1. export GOMP_CPU_AFFINITY=0-5
2. run the cuda/ocelot program

What is the expected output? What do you see instead?
All CPU cores must be equally loaded.
Instead only one core is busy, others are idle.

What version of the product are you using? On what operating system?
svn revision: 2235, system: gentoo GNU/Linux amd64

Please provide any additional information below.
My own OpenMP code works fine(better than without) with affinity set.

Original issue reported on code.google.com by volyrkr on 6 Jun 2013 at 6:48

@GoogleCodeExporter
Copy link
Author

The backend is llvm. Maybe it's llvm's bug.

Original comment by volyrkr on 6 Jun 2013 at 6:51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant