Skip to content

Commit

Permalink
Fix avx512 compile flag difference between cmake and configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Dead2 committed May 13, 2023
1 parent 68485af commit 1b80498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ forcesse2=0
# For CPUs that can benefit from AVX512, it seems GCC generates suboptimal
# instruction scheduling unless you specify a reasonable -mtune= target
avx512flag="-mavx512f -mavx512dq -mavx512bw -mavx512vl"
avx512vnniflag="-mavx512vnni ${avx512flag}"
avx512vnniflag="${avx512flag} -mavx512vnni -mtune=cascadelake"
avx2flag="-mavx2"
sse2flag="-msse2"
ssse3flag="-mssse3"
Expand Down

0 comments on commit 1b80498

Please sign in to comment.