Skip to content

Is there a reason to use CpuId? #536

Closed
@halentin

Description

@halentin

I ran into issues with LinearSolve failing to precompile on our 32-Bit-Tests. It appears the issue stemmed from an upstream bug m-j-w/CpuId.jl#62 (comment).
I submitted a PR that should fix it upstream, but is there even any good reason to use CpuId at all in this case?
It appears CpuId is only used to check for "EPYC" in the CPU-Name:

if Preferences.@load_preference("LoadMKL_JLL", !occursin("EPYC", CpuId.cpubrand()))

On both machines i tested it on (one having an EPYC-CPU), Julias builtin Sys.cpu_info()[1].model returns the same String (minus some spaces) as CpuId.cpubrand().
So maybe this dependency could be completely removed and replaced by the builtin function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions