Commit 12e7df12 authored by wangshaojie6's avatar wangshaojie6
Browse files

fix error: check left bottom corner for tile skipping

parent 616a51fd
...@@ -772,7 +772,7 @@ struct GridwiseBatchedGemmSoftmaxGemm_Xdl_CShuffle ...@@ -772,7 +772,7 @@ struct GridwiseBatchedGemmSoftmaxGemm_Xdl_CShuffle
auto gemm0_n_block_idx = auto gemm0_n_block_idx =
__builtin_amdgcn_readfirstlane(gemm1_k_block_outer_index * NPerBlock); __builtin_amdgcn_readfirstlane(gemm1_k_block_outer_index * NPerBlock);
if((m_block_data_idx_on_grid < gemm0_n_block_idx) && if((m_block_data_idx_on_grid < gemm0_n_block_idx) &&
(m_block_data_idx_on_grid < (gemm0_n_block_idx + NPerBlock - 1))) ((m_block_data_idx_on_grid + MPerBlock - 1) < gemm0_n_block_idx))
{ {
continue; continue;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment