Explicitly rename has_512 into has_avx512 (#7751)
This commit is contained in:
+1
-1
@@ -1077,7 +1077,7 @@ std::string jit_compiler::cpu(const std::string& _cpu)
|
||||
m_cpu == "tigerlake")
|
||||
{
|
||||
// Downgrade if AVX-512 is disabled or not supported
|
||||
if (!utils::has_512())
|
||||
if (!utils::has_avx512())
|
||||
{
|
||||
m_cpu = "skylake";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user