Skip to content

Commit

Permalink
[fbgemm] Fix FBGEMM compilation errors
Browse files Browse the repository at this point in the history
- Fix FBGEMM compilation errors
  • Loading branch information
q10 committed Sep 5, 2024
1 parent 75ac3c0 commit f5fce16
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 @@ -203,6 +203,8 @@ else(MSVC)
string(APPEND CMAKE_CXX_FLAGS " -Wno-deprecated-declarations")
string(APPEND CMAKE_CXX_FLAGS " -Wunknown-pragmas")
string(APPEND CMAKE_CXX_FLAGS " -Wimplicit-fallthrough")
string(APPEND CMAKE_CXX_FLAGS " -Wno-error=strict-aliasing")

target_compile_options(fbgemm_avx2 PRIVATE
"-m64" "-mavx2" "-mf16c" "-mfma")
target_compile_options(fbgemm_avx512 PRIVATE
Expand Down

0 comments on commit f5fce16

Please sign in to comment.