From 80ea015e3f17338f3c9fb9ece37759e1b531e9fc Mon Sep 17 00:00:00 2001 From: Odysseas Gabrielides Date: Tue, 26 Nov 2024 17:08:47 +0200 Subject: [PATCH] fix: relax avx512 incompatibility detection --- src/cpu_compatibility.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/cpu_compatibility.rs b/src/cpu_compatibility.rs index f9078d060..0048e1f47 100644 --- a/src/cpu_compatibility.rs +++ b/src/cpu_compatibility.rs @@ -34,18 +34,6 @@ pub fn check_cpu_compatibility() { .unwrap(); std::process::exit(1); } - let avx512_supported = cpuid - .get_extended_feature_info() - .map_or(false, |ext_info| ext_info.has_avx512f()); // AVX-512 Foundation - if !avx512_supported { - MessageDialog::new() - .set_type(native_dialog::MessageType::Error) - .set_title("Compatibility Error") - .set_text("Your CPU does not support AVX512 instructions. Please use a compatible CPU.") - .show_alert() - .unwrap(); - std::process::exit(1); - } } else { MessageDialog::new() .set_type(native_dialog::MessageType::Error)