Skip to content

Commit

Permalink
Merge pull request #993 from alicevision/cmake/updateArch
Browse files Browse the repository at this point in the history
[cmake] update flags for Intel i9-10900K
  • Loading branch information
fabiencastan authored Feb 24, 2021
2 parents 47fef5a + 968b9a9 commit f7707d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/OptimizeForArchitecture.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ macro(OFA_AutodetectX86)
set(TARGET_ARCHITECTURE "kaby-lake")
elseif(_cpu_model EQUAL 85) # 55
set(TARGET_ARCHITECTURE "skylake-avx512")
elseif(_cpu_model EQUAL 78 OR _cpu_model EQUAL 94) # 4E, 5E
elseif(_cpu_model EQUAL 78 OR _cpu_model EQUAL 94 OR _cpu_model EQUAL 165) # 4E, 5E
set(TARGET_ARCHITECTURE "skylake")
elseif(_cpu_model EQUAL 61 OR _cpu_model EQUAL 71 OR _cpu_model EQUAL 79 OR _cpu_model EQUAL 86) # 3D, 47, 4F, 56
set(TARGET_ARCHITECTURE "broadwell")
Expand Down

0 comments on commit f7707d7

Please sign in to comment.