Skip to content

Commit

Permalink
Disable AVX512 FP16 on MSVC
Browse files Browse the repository at this point in the history
It seems to be producing incorrect results: https://github.com/google/XNNPACK/actions/runs/12819708705/job/35748553217

PiperOrigin-RevId: 716487007
  • Loading branch information
dsharletg authored and xnnpack-bot committed Jan 17, 2025
1 parent 5ff4949 commit b8fe94f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "Clang")
IF(CMAKE_C_COMPILER_VERSION VERSION_LESS "15")
SET(XNNPACK_ENABLE_AVX512FP16 OFF)
ENDIF()
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
SET(XNNPACK_ENABLE_AVX512FP16 OFF)
ENDIF()
OPTION(XNNPACK_ENABLE_HVX "Build XNNPACK with Hexagon HVX micro-kernels" ON)
OPTION(XNNPACK_ENABLE_KLEIDIAI "Use KleidiAI GEMM microkernels for Arm" ON)
Expand Down

0 comments on commit b8fe94f

Please sign in to comment.