-
Notifications
You must be signed in to change notification settings - Fork 354
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
Enable new multithreading support in Verilator 4 #169
Comments
Could use the ProcessorCount cmake module to automatically determine number of threads: https://cmake.org/cmake/help/latest/module/ProcessorCount.html |
The CMakeLists.txt file in hardware would also need be modified to update the minimum supported version to one with multithreading support. |
Need to do some performance measurements and regression tests before enabling by default. |
Running a randomized cosimulation test (3.1 GHz Intel Core i7, 2 cores, 4 threads) 1 thread - 18s |
ProcessorCount returns 4 on my machine, even though system info reports two cores. This is presumably the number of threads. Using this value is slower than 1 thread. |
Use --threads flag, need to test for correct operation, produce profile results to characterize speedup.
The text was updated successfully, but these errors were encountered: