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
Hello!
This package was presented at the Parallel workshop at JuliaCon and I am trying to see the consistency of different Julia packages to show cpu instruction sets so as to dispatch on them.
The official documentation for this is the "Intel 64 and IA-32 Architectures Software Developer’s Manual", available e.g. here.
Decoding the CPU flags is very tedious. I'd go for read("/proc/cpuinfo", String).
If your intent is to use this information for code generation, the you'll have to rely on LLVM in the end, thus asking LLVM what it thinks about the CPU might in the end be the best way:
Hello!
This package was presented at the Parallel workshop at JuliaCon and I am trying to see the consistency of different Julia packages to show cpu instruction sets so as to dispatch on them.
So far, I have 3 ways of procuring them.
Although Hwloc.jl does provide a binary for obtaining this information (
hwloc-gather-cpuid
), I would like to PR it into the repo if possible.Howerver, I wasn't able to find information in the manual about how to unmask the flags and know which instruction sets are actually available.
Any pointers?
Here is my result for
./hwloc-gather-cpuid
The text was updated successfully, but these errors were encountered: