Skip to content

Commit

Permalink
fix mapping zen3 march flags to icc
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Mar 23, 2022
1 parent 8e0e200 commit cc93142
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/OptimizeForArchitecture.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,9 @@ Other supported values are: \"none\", \"generic\", \"core\", \"merom\" (65nm Cor
set(OFA_map_penryn "-xSSSE3")
set(OFA_map_merom "-xSSSE3")
set(OFA_map_core2 "-xSSE3")
set(OFA_map_zen3 "-xAVX2")
set(OFA_map_zen "-xAVX2")
set(OFA_map_znver3 "-xAVX2")
set(OFA_map_znver2 "-xAVX2")
set(OFA_map_znver1 "-xAVX2")
set(_ok FALSE)
foreach(arch ${_march_flag_list})
if(DEFINED OFA_map_${arch})
Expand Down

0 comments on commit cc93142

Please sign in to comment.