Comments (7)
@clausecker Definitely useful.
I will add it as part of my v2 refactor: #62
from cpuid.
As a specific real-world use case, the pospop library you contributed to could use a special kernel for Count8
that is fastest only on processors with slow AVX. However, without a way to detect this case, it is not possible to provide the kernel in a sensible manner. See clausecker/pospop#2 for details.
from cpuid.
@clausecker Added. You can see output here: https://pastebin.com/tWMEjDgL
from cpuid.
Search for AVXSLOW
.
from cpuid.
Very nice! I've added a relevant Stack Overflow question in the meanwhile. I'll await the results of that. It is likely there are more processors with “slow” AVX.
from cpuid.
You might want to update the code a little following this discussion. On Sandy Bridge and Ivy Bridge, AVX is implemented using 256 bit ALUs, but loads and stores are done in two 128 bit passes. So the processors don't really have the same kind of problem as AMD processors.
from cpuid.
@clausecker Feel free to send a PR.
from cpuid.
Related Issues (20)
- Process hangs for an hour on init HOT 9
- CPUID and NFD support: AVX_VNNI HOT 9
- Difference in characteristics between lscpu and cpuid go implementation for AMD Ryzen HOT 1
- Provide stepping information for Intel CPU HOT 1
- Possible SCE check issue HOT 13
- Looks at CPUID leaves it should not HOT 5
- L1 icache and dcache on M1 are the same sysctl HOT 1
- Can this package support detecting CPU microarchitecture information? HOT 3
- mac error HOT 1
- Crash Samsung s9 arm64 HOT 1
- invalid operation: 1 << (feat & flagMask) (shift count type FeatureID, must be unsigned integer) HOT 1
- I have one my Windows 10 Pro Physical Desktop Machine, still it's returning true for the call cpuid.CPU.VM() HOT 5
- Spurious debug line: "frequencies(): ..." HOT 1
- CPU.Hz returns 0? HOT 1
- CPU without L3 cache shows -1 bytes of L3 HOT 1
- main.go:7:2: cannot find package "github.com/klauspost/cpuid/v2" in any of: HOT 2
- main.go:7:2: cannot find package "github.com/klauspost/cpuid/v2" in any of: HOT 3
- Can this package support arm linux HOT 1
- Can not compile to amd64 in mac m1 arm HOT 1
- Support for memory encryption cpuids (AMD SME, SEV and Intel TME) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpuid.