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

ARM intrinsics detection for MSVC #5401

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

Xarbirus
Copy link
Contributor

@Xarbirus Xarbirus commented Feb 7, 2024

Some MSVC compilers do not support vdotq_s32 (for example my current MSVC 19.29.30153.0) so it's better to detect __ARM_FEATURE_DOTPROD rather then just set it.
Same for __ARM_FEATURE_FP16_VECTOR_ARITHMETIC.

Copy link
Owner

@ggerganov ggerganov left a comment

Choose a reason for hiding this comment

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

I can't verify MSVC stuff, but it seems fine to me

@ggerganov ggerganov merged commit 8084d55 into ggerganov:master Feb 14, 2024
53 checks passed
@Xarbirus Xarbirus deleted the msvc-arm-intrinsics-detection branch February 26, 2024 12:21
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
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.

2 participants