[Issue 19861] core.cpuid reports the wrong number of threads

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 28 10:54:13 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19861

--- Comment #7 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
(In reply to Rainer Schuetze from comment #6)
> I tried the latest version of mir-cpuid from github, it reports 16 cores and
> 16 threads for the 8-core Ryzen. That's no change from earlier versions, but
> at least slightly better than what core.cpuid does.

Thank you.
I added another one fix that uses 1E extended leaf information to retrieve the
number of threads per core.

https://github.com/libmir/mir-cpuid/pull/42

Please check with recent the mir-cpuid master.

--


More information about the Digitalmars-d-bugs mailing list