Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KOKKOS_ARCH_ARM_NEON #6394

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

masterleinad
Copy link
Contributor

Based on top of #6188. Currently, we are checking for __ARM_NEON to enable the respective SIMD type. This is different from how we do it for all other SIMD types and this pull request makes the behavior more uniform by introducing a non-cache KOKKOS_ARCH_ARM_NEON CMake variable and preprocessor define that works analogous to KOKKOS_ARCH_AVX512XEON and similar.
Technically, this could be considered as backward-incompatible since users might have relied on the autodetection for the intrinsics.

@masterleinad masterleinad added the Blocks Promotion Overview issue for release-blocking bugs label Oct 4, 2023
@masterleinad masterleinad requested a review from ldh4 October 4, 2023 18:56
@masterleinad masterleinad marked this pull request as ready for review October 4, 2023 18:56
Copy link
Contributor

@ldh4 ldh4 left a comment

Choose a reason for hiding this comment

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

Looks fine to me.

@dalg24
Copy link
Member

dalg24 commented Oct 6, 2023

What about auto detection?

# If Kokkos_ARCH_NATIVE is enabled, we are trying to autodetect
# the SIMD capabilities based on compiler macros.
IF (KOKKOS_ARCH_NATIVE)

@dalg24
Copy link
Member

dalg24 commented Oct 6, 2023

What about auto detection?

# If Kokkos_ARCH_NATIVE is enabled, we are trying to autodetect
# the SIMD capabilities based on compiler macros.
IF (KOKKOS_ARCH_NATIVE)

Nevermind I see you added it. Sorry about the noise.

@dalg24
Copy link
Member

dalg24 commented Oct 6, 2023

The CUDA 11.0 build failure is unrelated (SIMD issue being fixed in #6485). Both HIP builds timed out.

@dalg24 dalg24 merged commit ef1922d into kokkos:develop Oct 6, 2023
27 of 28 checks passed
@masterleinad masterleinad mentioned this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks Promotion Overview issue for release-blocking bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants