Skip to content

Commit 6fcc214

Browse files
committed
fixup
1 parent 966d58c commit 6fcc214

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/svs/lib/avx_detection.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ CATCH_TEST_CASE("AVX detection", "[lib][lib-avx-detection]") {
3030
std::cout << "AVX512VNNI: " << std::boolalpha
3131
<< svs::detail::avx_runtime_flags.is_avx512vnni_supported() << "\n";
3232

33+
#ifdef __x86_64__
3334
CATCH_SECTION("Patching") {
3435
auto& mutable_flags =
3536
const_cast<svs::detail::AVXRuntimeFlags&>(svs::detail::avx_runtime_flags);
@@ -38,4 +39,5 @@ CATCH_TEST_CASE("AVX detection", "[lib][lib-avx-detection]") {
3839
CATCH_REQUIRE(svs::detail::avx_runtime_flags.is_avx512f_supported() == false);
3940
mutable_flags.avx512f = original;
4041
}
42+
#endifx
4143
}

0 commit comments

Comments
 (0)