You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run a virtual private server (hosted with Contabo) where I recently ran into issues running some Haskell software. NixOS/nixfmt#276 (comment)
The server seems to run on an AMD EPYC 7282 and it (or the hypervisor) seems to return a wrong feature set through CPUID. This later causes measure_off_avx to fail with SIGILL.
The call to __get_cpuid_count seems to report wrong results, because the AMD EPYC 7282 is not supposed to support AVX512 per its specs, but the following test program returns support for AVX512:
Even though this seems to be a CPU issue, I did not find a way to disable the AVX512 detection during compile time. My currently solution is to patch has_avx512_vl_bw to always return false.
It would be nice to have a compile time option to disable AVX512 detection manually.
The text was updated successfully, but these errors were encountered:
I run a virtual private server (hosted with Contabo) where I recently ran into issues running some Haskell software. NixOS/nixfmt#276 (comment)
The server seems to run on an AMD EPYC 7282 and it (or the hypervisor) seems to return a wrong feature set through CPUID. This later causes
measure_off_avx
to fail withSIGILL
./proc/cpuinfo
Complete output of the test program
Even though this seems to be a CPU issue, I did not find a way to disable the AVX512 detection during compile time. My currently solution is to patch
has_avx512_vl_bw
to always return false.It would be nice to have a compile time option to disable AVX512 detection manually.
The text was updated successfully, but these errors were encountered: