-
Notifications
You must be signed in to change notification settings - Fork 13
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
getDefaultThreadCount faulty #2
Comments
It's not that simple. It's highly game-dependent. Have a look at this: https://gpuopen.com/learn/cpu-core-count-detection-windows/ https://gpuopen.com/wp-content/uploads/2018/05/gdc_2018_sponsored_optimizing_for_ryzen.pdf (page 25) |
Even the article you linked states that
So it makes no sense for it to default to behavior that is only going to be beneficial for "a small number of games". |
Default behavior should be to utilize the processor fully, SMT can be disabled in cases where performance regressions occur, which are rare. SMT Regressions in rare edge cases aren't unique to AMD either, so the function as it is right now makes no sense in multiple ways. |
cpu-core-counts/windows/ThreadCount-Win7.cpp
Line 69 in 7c2329a
As mentioned in this reddit thread, the logic in this function doesn't make any sense. For modern AMD Ryzen CPUs, it should return the
logical
value as well, just like on modern Intel CPUs.The text was updated successfully, but these errors were encountered: