Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here are the files for test.
I run the Python script on a server with 48 CPU cores. Here is the running time. It shows 1. the running time increases when
OMP_NUM_THREADS
increases especially when accepting the Python/C++ callback from Python, and 2. keeping everything inside C++ is much faster, which seems to contradict the "no overhead" claim as in the documentation.And when OpenMP is turned off:
So what goes wrong here?
Beta Was this translation helpful? Give feedback.
All reactions