Commit 616a51fd authored by wangshaojie6's avatar wangshaojie6
Browse files

check lef bottom corner for tile skipping

parent 878f66fb
...@@ -772,8 +772,7 @@ struct GridwiseBatchedGemmSoftmaxGemm_Xdl_CShuffle ...@@ -772,8 +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 + MPerBlock - 1) < (m_block_data_idx_on_grid < (gemm0_n_block_idx + NPerBlock - 1)))
(gemm0_n_block_idx + NPerBlock - 1)))
{ {
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