-
Notifications
You must be signed in to change notification settings - Fork 67
[rkeops] Setting the number of cores when using CPU backend does not seem to work #383
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
Comments
Benchmarking on the whole set of 100 curves leads to equivalent median times (35s) and memory allocation (159MB). |
I see that setting the number of cores is handled by {RhpcBLASctl}. This package has the following warning:
In fact, if I run locally I will try to get a build with OpenMP to understand if this issue persists. However, it could be good to mention that CPU parallelisation does not work with default R builds on macOS. |
Instructions to (re-)enable OpenMP support with macOS It is trickier with rkeops because it is a wrapper that behind the scene uses the pykeops Python package. Hence, on macOS, one also needs to somehow tell the python installer where to find OpenMP libs and headers to properly build pykeops with OpenMP support. |
The best way to handle this would be to provide a |
Hi,
As the title of the issue explains, a small reprex for this (Hausdorff distance computation on functional data set).
Generate some data
Implement
dist()
function for Hausdorff distance via {rkeops}Benchmarks
The text was updated successfully, but these errors were encountered: