Detect AMD engineering samples in randomx_boost.sh

This commit is contained in:
SChernykh 2024-08-29 14:47:30 +02:00
parent e0af8f0c6b
commit bc1c8358c4

View File

@ -8,7 +8,7 @@ else
modprobe msr allow_writes=on
fi
if grep -E 'AMD Ryzen|AMD EPYC' /proc/cpuinfo > /dev/null;
if grep -E 'AMD Ryzen|AMD EPYC|AuthenticAMD' /proc/cpuinfo > /dev/null;
then
if grep "cpu family[[:space:]]\{1,\}:[[:space:]]25" /proc/cpuinfo > /dev/null;
then