Repository navigation
sycl: FWHT optimizations - #29605
Merged
Merged
sycl: FWHT optimizations#29605
Conversation
Assisted-by: Claude Code
arthw
reviewed
Sep 30, 2026
Contributor
There was a problem hiding this comment.
On Arc770, there are perf increase on the type_b=fp16 cases. No impact to type_b=fp32.
cmd: ./build/bin/test-backend-ops perf -b SYCL0 -o MUL_MAT_HADAMARD
| Config | Base | PR | Change |
|---|---|---|---|
| f32/f32 m=128 n=1 k=128 | 8.00 GFLOPS | 7.96 GFLOPS | -0.5% |
| f32/f32 m=64 n=1 k=64 | 2.33 GFLOPS | 2.32 GFLOPS | -0.4% |
| f32/f32 m=256 n=1 k=256 | 29.39 GFLOPS | 29.37 GFLOPS | -0.1% |
| f32/f32 m=128 n=32 k=128 | 252.54 GFLOPS | 251.12 GFLOPS | -0.6% |
| f32/f32 m=64 n=2048 k=64 | 2.48 TFLOPS | 2.47 TFLOPS | -0.4% |
| f32/f32 m=128 n=2048 k=128 | 6.73 TFLOPS | 6.70 TFLOPS | -0.4% |
| f32/f32 m=256 n=2048 k=256 | 15.68 TFLOPS | 15.64 TFLOPS | -0.3% |
| f32/f32 m=512 n=2048 k=512 | 35.32 TFLOPS | 35.25 TFLOPS | -0.2% |
| f32/f16 m=128 n=1 k=128 | 3.97 GFLOPS | 8.04 GFLOPS | +102.5% |
| f32/f16 m=64 n=1 k=64 | 1.10 GFLOPS | 2.32 GFLOPS | +110.9% |
| f32/f16 m=256 n=1 k=256 | 15.36 GFLOPS | 29.02 GFLOPS | +88.9% |
| f32/f16 m=128 n=32 k=128 | 107.38 GFLOPS | 248.37 GFLOPS | +131.3% |
| f32/f16 m=64 n=2048 k=64 | 1.13 TFLOPS | 2.51 TFLOPS | +122.1% |
| f32/f16 m=128 n=2048 k=128 | 2.85 TFLOPS | 7.15 TFLOPS | +150.9% |
| f32/f16 m=256 n=2048 k=256 | 6.02 TFLOPS | 16.53 TFLOPS | +174.6% |
| f32/f16 m=512 n=2048 k=512 | 10.08 TFLOPS | 41.67 TFLOPS | +313.4% |
Contributor
|
@bri-prism Thank you! |
Assisted-by: Claude Code
Contributor
Author
|
Thanks for testing on Arc. Added the type_b=fp16 perf cases to test-backend-ops in 4537cdf, same shapes as your table, so the numbers should reproduce with the same command. |
bri-prism
marked this pull request as ready for review
October 7, 2026 17:43
Titaniumtown
approved these changes
Oct 8, 2026
edwardyoon
pushed a commit
to edwardyoon/focus-llama
that referenced
this pull request
Oct 8, 2026
(cherry picked from commit 46baf1f)
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.
Overview
sycl: FWHT optimizations
Additional information
Requirements