Skip to content

Add AVX support check for x86_64 architecture in MpcOptions.cmake#383

Open
AshAnand34 wants to merge 1 commit intogoogle-deepmind:mainfrom
AshAnand34:fix/unsupported-msse4.1option-for-arm64-apple-arch
Open

Add AVX support check for x86_64 architecture in MpcOptions.cmake#383
AshAnand34 wants to merge 1 commit intogoogle-deepmind:mainfrom
AshAnand34:fix/unsupported-msse4.1option-for-arm64-apple-arch

Conversation

@AshAnand34
Copy link

This pull request updates the logic for AVX support in the cmake/MpcOptions.cmake file to ensure compatibility with specific system architectures. The most important change involves adding a conditional check for the processor type when MUJOCO_ENABLE_AVX is enabled.

Changes to AVX support logic:

  • cmake/MpcOptions.cmake: Added a conditional check to verify if the processor matches x86_64|AMD64 before including CheckAvxSupport and retrieving AVX compile options. This ensures AVX options are only applied on supported architectures. Additionally, a fallback set(AVX_COMPILE_OPTIONS) is added when MUJOCO_ENABLE_AVX is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant