-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add configuration for setting the degree of compilation parallelism. #51
Comments
Currently, parallelism is off by default. If you turn parallelism on, the number of cores is equal to This would be quite easy to modify. I have two proposals for how we could do this:
Some locations in the code that would be useful for this: cppimport/cppimport/templating.py Line 46 in 00c40d9
cppimport/cppimport/build_module.py Line 57 in 00c40d9
cppimport/cppimport/build_module.py Line 150 in 00c40d9
I would be excited to accept a pull request if you have the time to implement this! |
Reopened because this is something I want to do eventually. |
Maybe the first question is how many cppimport will use by default. Since I'm running it on a machine with a small memory, sometimes I can see the compilation goes out of memory.
The text was updated successfully, but these errors were encountered: