Repository navigation
feat(v81): clean-room SM8850 Hexagon v81 HMX FP16 (23.19 TFLOPS), Adreno 840 AHB VLA, and twin receipts - #50
Merged
Conversation
… VLA, and twin receipts
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.
Summary
Adds clean-room Hexagon
v81HMX FP16 support (HAP_power_set_HMX_v2, fixedcompute_resource_hmx_unlock(ctx_id), CRM-before-power single-page VTCM,QURT_HVX_MODE_128B=1), the Adreno 840 <-> Hexagonv81AHardwareBufferzero-copy VLA benchmark, mirroredfreesilicon-twincalibration receipts, andproof/sm8850-v81-hmx/PROOF.md.Key Verified Hardware Highlights (
SM8850, Android 16,uid=2000,SELinux Enforcing=1)v81HMX FP16 (src/freehexagon_v81_hmx_skel.c,src/freehexagon_v81_hmx_fp16.S):46.302 usUTIMER ->23.1899 TFLOPSpeak (512x1024x1024),12,701.14 FLOPs/Q6-cycleat1.824 GHzQ6 clock (reflectingv81systolic width and/or separateHMX_v2clock rail),0mismatches,0.0nmse, hardware ReLU verified (cvt_ctrl=0x0and0x2).v81HMXAHardwareBufferZero-Copy VLA (tools/sm8850_v81_vla_ahb.c,shaders/adreno840/vla_*.comp): Single16 MiBAHardwareBufferimported viaVK_ANDROID_external_memory_android_hardware_bufferand mapped viafastrpc_mmap+remote_register_buf_attr(SYNC_FDhandoff,0 Bhost copy,0mismatches,nmse <= 6.27e-10). Slashesstem + handoffby4.81xatM=1024(1,018.6 usvs4,896.3 us) and beats CPU-staged by1.27xp50 /1.49xp95 atM=256.freesilicon-twinReceipts:twin/receipts/sm8850-v81-hmx-calibrated.json(4points)twin/receipts/sm8850-v81-ahb-vla-calibrated.json(6points)python/freesilicon_twin/data/receipts/.Verification
make clean && make verify(C11/C++17 headers, full unit/mock suite, clean-room audit0errors across157files)cmake -B build-cmake && cmake --build build-cmake -j && ctest --test-dir build-cmake --output-on-failure(29/29 PASS)tests/test_freehexagon_v81_hmx.candtools/sm8850_v81_vla_ahb.c --mock(0 errors, 0 mismatches)aarch64-linux-android34PIE cross-compile (DT_NEEDEDstrictly[libdl.so, libm.so, libc.so])proof/sm8850-v81-hmx/PROOF.md