Add AVX-512 enablement layer - #5307
Open
amd-nithyavs wants to merge 2 commits into
Open
Conversation
Adds AVX512 enablement layer - runtime CPU detection, RTCD arch registration, cmake flavor/flag plumbing, empty per-target object-library hooks - and a whole program -march knob. Signed-off-by: Nithya V S <Nithya.VS@amd.com>
yunqingwang1
self-requested a review
August 24, 2026 16:39
yunqingwang1
approved these changes
Aug 24, 2026
yunqingwang1
left a comment
Contributor
There was a problem hiding this comment.
Looks good - thanks.
yunqingwang1
enabled auto-merge (rebase)
August 24, 2026 16:55
yunqingwang1
disabled auto-merge
August 24, 2026 17:05
Fixes style check errors in the cmake files.
jjustiss-apple
approved these changes
Aug 25, 2026
Contributor
|
@amd-nithyavs : I'm not seeing an option to rebase on my own from the UI. Have you disabled this option? Should be something like "Allow edit by maintainers"? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the build-system, RTCD, and runtime-dispatch plumbing to host AVX-512 kernels in libavm. Infrastructure only — no kernels are added and nothing is
specialized toavx512, so this is a runtime no-op till follow-up kernel PRs land.Includes: runtime detection in
x86.h(XGETBV opmask/ZMM state + CPUID F/DQ/BW/VL), RTCDavx512arch (x86_64 only), CMake object-library hooks and MSVC/arch:AVX512mapping,HAVE_AVX512/ENABLE_AVX512(default ON, inherits the disable cascade), and a gtest CPU gate.Reversible via
-DENABLE_AVX512=OFF.