You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help?> CpuId.cpucores
cpucores()
Determine the number of physical cores on the current executing CPU by invoking a
cpuid instruction. On systems with multiple CPUs, this only gives information on the
single CPU that is executing the code. Returns zero if querying this feature is not
supported, which may also be due to a running hypervisor (as observed on hvvendor() ==:Microsoft).
Also, this function does not take logical cores (aka hyperthreading) into account, but
determines the true number of physical cores, which typically also share L3 caches and
main memory bandwidth.
See also the Julia global variable Base.Sys.CPU_CORES, which gives the total count of
all cores on the machine.
The docstring for
CpuId.cpucores
says:However, as of Julia 1.0,
Sys.CPU_CORES
has been renamed toSys.CPU_THREADS
(see JuliaLang/julia#27856, JuliaLang/julia#28091, and JuliaLang/julia@1f1b1b8).Should the docstring be updated?
The text was updated successfully, but these errors were encountered: