Skip to content

Commit 2d7847a

Browse files
cyyevermeta-codesync[bot]
authored andcommitted
Use -ftree-vectorize for autovec (#4971)
Summary: X-link: https://github.com/facebookresearch/FBGEMM/pull/1989 I recall the flag was used before.. Pull Request resolved: #4971 Reviewed By: cthi Differential Revision: D83827111 Pulled By: q10 fbshipit-source-id: 19affbb8343babaf6b0170c63a2a450dc58d7fd4
1 parent 8ed6b23 commit 2d7847a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ if(NOT DISABLE_FBGEMM_AUTOVEC)
405405
OBJECT
406406
SRCS
407407
${FBGEMM_AUTOVEC_SRCS}
408+
CC_FLAGS
409+
-ftree-vectorize
408410
ENABLE_IPO
409411
${FBGEMM_USE_IPO}
410412
DEPS

0 commit comments

Comments
 (0)