Repository navigation
feat(gemv): finite-dispatch Volcanic Vulkan quantized GEMV kernels (#9) - #11
Closed
saariuslystoned wants to merge 3 commits into
Closed
saariuslystoned wants to merge 3 commits into
saariuslystoned wants to merge 3 commits into
Conversation
Contributor
Author
Adversarial Hardening & Public-Roads Audit Receipt (
|
Contributor
Author
|
Closing: superseded — freesilicon/mesa#2 already beats stock Android on Volcanic via standard FP16 F16X2 llama.cpp compute; freepvr stays focused on specs, validators, and probes. |
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.
Closes #9 (host implementation, capability gating,
VK_ERROR_DEVICE_LOSTrecovery, shaders, tests, and device-lane benchmark harness).Summary
kernels/gemv/shaders/gemv_q8_0_baseline.comp&gemv_q8_0_volcanic.comp): zero persistent workgroup loops, zero cross-workgroup spin-wait rendezvous, zero atomics; Volcanic variant uses 128-widesubgroupAddreduction with explicit inter-slicevkCmdPipelineBarrier.VK_ERROR_DEVICE_LOSTstate machine (kernels/gemv/include/gemv_runtime.hpp): gates on subgroup properties, subgroup size control, buffer device address (4-byte alignment), and integer-dot support; falls back cleanly to portable baseline when any capability is absent or on device loss.kernels/gemv/bench/gemv_bench.cpp,BENCH_RECEIPT_SCHEMA.json) ready for the dedicated device lane to capture the 3×10-minute stock Android OTA qualification receipts..github/workflows/ci.yml,kernels/gemv/tests/gemv_runtime_test.cpp,tests/test_gemv_finite_dispatch.py,kernels/gemv/PROOF.md).Verification
glslangValidator -V --target-env vulkan1.2+spirv-val --target-env vulkan1.2+spirv-disbarrier/atomic scan: PASS (0 barriers/atomics).c++ -std=c++17 -O1 -g -fsanitize=address,undefined -Wall -Wextra -Werror: PASS.python3 -m unittest discover -s tests -v: 19/19 OK.python3 -m unittest discover -s freepvr-twin/tests -v: 25/25 OK../scripts/clean-room-audit.sh: PASS (0 violations across 73 files).kernels/gemv/PROOF.mdfor host-verified vs. pending live Android OTA hardware qualification details.