Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPU] Conv and Gemm fix #2290

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

[GPU] Conv and Gemm fix #2290

wants to merge 2 commits into from

Conversation

dyoussif
Copy link
Contributor

  1. Fix data type for conv zp mask; set to s16 instead of s32. This is to avoid invalid data type combination for the mad instruction,mad dst:d src0:d src1:d src2:d.

Failing case

--mode-modifier=P --conv --engine=gpu --skip-impl=ref --allow-enum-tags-only=false --check-ref-impl=true -- dt=u8:s8:u8 --attr-scales=wei:per_oc --attr-zero-points=src:per_dim_1 --attr-post-ops=hardswish:0.271:0.314+linear:0.271:0.314 g240mb32ic240ih28oc240oh14kh3sh2ph0n"f191c263e53dbb3ce0c02a13f311a72a*1"

  1. Fix gemm hang for the following case on Xe2:

--mode-modifier=P --conv --engine=gpu --skip-impl=ref --allow-enum-tags-only=false --check-ref-impl=true --dt=u8:s8:u8 --attr-scales=wei:per_oc --attr-zero-points=src:per_dim_1 --attr-post-ops=hardswish:0.271:0.314+linear:0.271:0.314 g240mb32ic240ih28oc240oh14kh3sh2ph0n"f191c263e53dbb3ce0c02a13f311a72a*1"

Seems lookahead should match reqLoad

@dyoussif dyoussif requested a review from a team as a code owner December 18, 2024 23:46
@github-actions github-actions bot added the platform:gpu-intel Codeowner: @oneapi-src/onednn-gpu-intel label Dec 18, 2024
@dyoussif
Copy link
Contributor Author

make test
disable device_cpu
enable device_gpu
disable benchdnn_all
enable benchdnn_matmul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:gpu-intel Codeowner: @oneapi-src/onednn-gpu-intel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants