I have seen recently that Visual Studio 2019 Preview has added an option to compile with AVX512. OK, I tried it and it worked. But why does it work while my CPU has no such capability?
I am using the following C/C++ script to detect the CPU capabilities: https://learn.microsoft.com/en-us/cpp/intrinsics/cpuid-cpuidex?view=vs-2019
All AVX512 flags (AVX512F, AVX512CD, AVX512PF and AVX512ER) are unavailable on my system when running this script.
Visual Studio 2019 Preview has the following options [AVX, AVX2, AVX512, SSE and SSE2]. AVX, AVX2, SSE and SSE2 compiled software work on my PC and that script listed above says that my PC supports all these four (AVX, AVX2, SSE and SSE2).
As you can understand now, the only problem seems to be the AVX512 capability. It works on my PC but every script I run says that I have no AVX512.
Thanks!