cpuid
约 1 分钟阅读
cat /proc/cpuinfo | sort -u | grep --color -Ei 'AVX|FMA|NEON|F16|BLAS|SSE3|VSX'
go env -w GOPROXY=https://goproxy.cn,direct
go install github.com/klauspost/cpuid/v2/cmd/cpuid@latest
~/go/bin/cpuid
~/go/bin/cpuid | grep --color -Ei 'AVX|FMA|NEON|F16|BLAS|SSE3|VSX'Packagesgithub.com/klauspost/cpuid/v2/cmd/cpuidGo Packagegithub.com/klauspost/cpuid/v2/cmd/cpuidGo
- AVX - Advanced Vector Extension
- AVX
- AVX2
- AVX512
- FMA - fused multiply–add
- FMA2
- FMA3
- 128 and 256-bit Streaming SIMD Extensions
- arm
- NEON
- ARM_FMA
- F16C
- FP16_VA
- wasm
- WASM_SIMD
- BLAS
- SSE3
- IBM PowerPC
- VSX - Vector Scalar Extension
- Golang
- golang.org/x/sys/cpuGo Packagegolang.org/x/sys/cpuAVX - Advanced Vector Extension · AVX · AVX2 · AVX512 · FMA - fused multiply–add · FMA2 · FMA3 · 128 and 256-bit Streaming SIMD ExtensionsGo笔记:cpuid
关联信息
反向链接、本文链接的其他页面和外部资料。
References
Packages1 条
- golang.org/x/sys/cpupkg.go.dev/golang.org/x/sys/cpu