mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2944] [CLOSED] Run the AVX-512 CPU expert kernels on Skylake-X (16-register, VBMI-free) #4350
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4350
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2944
Author: @matthewjt
Created: 10/17/2026
Status: ❌ Closed
Base:
main← Head:main📄 Description
Summary
Skylake-X Xeons (e.g. Xeon Gold 6148) have AVX-512 F/BW/DQ/VL/VNNI but no VBMI, so cpu_avx512_ok() correctly gates them to the AVX-2 kernels. This adds a Skylake-X class gate plus VBMI-free kernel variants so those CPUs run the AVX-512 expert path. Full AVX-512 CPUs (Ice Lake+, Zen 4+) keep cpu_avx512_ok() and their existing code paths are unchanged.
Changes
Safety for existing CPUs
Testing (Xeon Gold 6148, RX 6700 XT, gfx1031)
Known limits
GCC still allocates zmm16–31 in some kernels (no flag caps allocation to 16 regs); empirically those paths were never executed in the full bench suite (zero SIGILL). A strict 16-reg kernel pass would make this airtight. Performance gain is CPU-dependent: compute-bound workloads benefit; memory-bandwidth-bound ones won't.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.