Skip to content

[SYCL] Use multiprocessing package to get cpu_count #1440

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
Apr 1, 2020

Conversation

againull
Copy link
Contributor

os.cpu_count() is available only for Python3. Use multiprocessing
package instead so that compile.py script works for both Python2 and
Python3.

Signed-off-by: Artur Gainullin [email protected]

os.cpu_count() is available only for Python3. Use multiprocessing
package instead so that compile.py script works for both Python2 and
Python3.

Signed-off-by: Artur Gainullin <[email protected]>
@againull againull requested a review from vladimirlaz March 31, 2020 18:28
@againull againull merged commit 4ff4b5c into intel:sycl Apr 1, 2020
@againull againull deleted the fix_compile_py branch December 3, 2022 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants