File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1414// limitations under the License. //
1515// ======================================================================== //
1616
17- #if \
17+ if defined (__AVX10_1__)
18+ char const *info_isa = "ISA" ":" "AVX10.1"
19+ #elif \
1820 defined (__AVX512F__) && defined(__AVX512CD__) && \
1921 defined(__AVX512DQ__) && defined(__AVX512BW__) && defined(__AVX512VL__)
2022char const *info_isa = "ISA" ":" "AVX512";
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ ELSE ()
2828 _SET_IF_EMPTY(FLAGS_AVX "-mavx" )
2929 _SET_IF_EMPTY(FLAGS_AVX2 "-mf16c -mavx2 -mfma -mlzcnt -mbmi -mbmi2" )
3030 _SET_IF_EMPTY(FLAGS_AVX512 "-march=skx" )
31+ _SET_IF_EMPTY(FLAGS_AVX10_1 "-mlzcnt -mavx10.1-512" )
3132ENDIF ()
3233
3334IF (WIN32 )
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ ELSE ()
1818 _SET_IF_EMPTY(FLAGS_AVX "-mavx" )
1919 _SET_IF_EMPTY(FLAGS_AVX2 "-mf16c -mavx2 -mfma -mlzcnt -mbmi -mbmi2" )
2020 _SET_IF_EMPTY(FLAGS_AVX512 "-march=skylake-avx512" )
21+ _SET_IF_EMPTY(FLAGS_AVX10_1 "-mlzcnt -mavx10.1" )
2122ENDIF ()
2223
2324OPTION (EMBREE_IGNORE_CMAKE_CXX_FLAGS "When enabled Embree ignores default CMAKE_CXX_FLAGS." ON )
You can’t perform that action at this time.
0 commit comments