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

xe: jit: gemm: set lateScale lookahead to match load size #2256

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
xe: jit: gemm: set lateScale lookahead to match load size
  • Loading branch information
dyoussif authored and kealan-barbieri committed Dec 12, 2024
commit 1a95151234b4f55bf3e785b6d49d18820109618a
4 changes: 2 additions & 2 deletions src/gpu/intel/jit/gemm/generator/pieces/k_loop.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,8 @@ void BLASKernelGenerator<hw>::kLoop(KLoop type, const GEMMProblem &problem, GEMM
// A/B 2D quantization parameter loads.
auto reqLoadAq = every(kaq_load) | lookahead(ka_repackMain);
auto reqLoadBq = every(kbq_load) | lookahead(kb_loadMain);
auto reqLoadAqLate = every(kaq_loadLate) | lookahead(ka_loadMain);
auto reqLoadBqLate = every(kbq_loadLate) | lookahead(kb_loadMain);
auto reqLoadAqLate = every(kaq_loadLate) | lookahead(kaq_loadLate);
auto reqLoadBqLate = every(kbq_loadLate) | lookahead(kbq_loadLate);

if (readA && dequantize2DA) ls.schedule(reqLoadAq, [&](Iteration h) {
if (ao2D) gemmALoad(state.A_offsetRegs, state.A_offsetLayout, state.A_offsetAddrs, problem.AO, strategy.AO, problem, strategy, state);
Expand Down
Loading