Explicitly rename has_512 into has_avx512 (#7751)

This commit is contained in:
Bird Egop 2020-03-10 19:21:00 +03:00 committed by GitHub
parent b4f416cb76
commit 4e25daffa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 24 deletions

View file

@ -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";
}