3 ms·
grep -o avx2 /proc/cpuinfo | uniq If your CPU supports AVX2, the output will be "avx2". If your CPU does not support AVX2, the command will not produce any out
by heap_perms 4y ago
grep -o avx2 /proc/cpuinfo | uniq
If your CPU supports AVX2, the output will be "avx2". If your CPU does not support AVX2, the command will not produce any output.