Skip to content

The LS1 PR: Introduce system for checking compiler flags: avx2 & fma#34

Merged
siggmo merged 5 commits intoDataAnalyticsEngineering:developfrom
claudiushaag:sandy-bridge
Dec 3, 2024
Merged

The LS1 PR: Introduce system for checking compiler flags: avx2 & fma#34
siggmo merged 5 commits intoDataAnalyticsEngineering:developfrom
claudiushaag:sandy-bridge

Conversation

@claudiushaag
Copy link
Member

  • i7-2600 was otherwise not able to built
  • super backward change
  • does not apply/test on macos

+ i7-2600 was otherwise not able to built
+ super backward change
+ does not apply/test on macos
@claudiushaag claudiushaag added bug Something isn't working enhancement New feature or request labels Nov 1, 2024
@claudiushaag claudiushaag changed the title Introduce system for checking compiler flags: avx2 & fma The LS1 PR: Introduce system for checking compiler flags: avx2 & fma Nov 4, 2024
Copy link
Contributor

@siggmo siggmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Two minor suggestions.

Thanks a lot for adding this!

@claudiushaag claudiushaag requested a review from siggmo November 4, 2024 16:38
Copy link
Contributor

@siggmo siggmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge.

PS. there's a typo in LSCU_OUTPUT

CMakeLists.txt Outdated
target_compile_options(FANS_FANS PUBLIC -mavx2 -mfma)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
# Linux: Check for AVX2 support using lscpu
execute_process(COMMAND lscpu OUTPUT_VARIABLE LSCU_OUTPUT ERROR_QUIET)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: missing P in LSCU_OUTPUT

@siggmo siggmo merged commit a4f8cc3 into DataAnalyticsEngineering:develop Dec 3, 2024
@sanathkeshav sanathkeshav mentioned this pull request May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants