SWDEV-526208 - Fix miscalculation of coalesced tiled partition mask (#162)

[ROCm/clr commit: c4fa3ef927]
이 커밋은 다음에 포함됨:
Milanov, Aleksandar
2025-04-11 19:40:26 +02:00
커밋한 사람 GitHub
부모 9264e97cbb
커밋 c83df8a653
+1 -1
파일 보기
@@ -390,7 +390,7 @@ class coalesced_group : public thread_group {
int lanes_to_skip = ((thread_rank()) / tile_size) * tile_size; int lanes_to_skip = ((thread_rank()) / tile_size) * tile_size;
for (unsigned int i = 0; i < warpSize; i++) { for (unsigned int i = 0; i < warpSize; i++) {
lane_mask active = coalesced_info.member_mask & (1 << i); lane_mask active = coalesced_info.member_mask & (static_cast<lane_mask>(1) << i);
// Make sure the lane is active // Make sure the lane is active
if (active) { if (active) {
if (lanes_to_skip <= 0 && tile_rank < tile_size) { if (lanes_to_skip <= 0 && tile_rank < tile_size) {