Changed warpSize = 32 to warpSize = 64

This commit is contained in:
B1tway
2023-03-06 18:33:35 +00:00
parent f9bd9908a1
commit 693cf89777
10 changed files with 65 additions and 19 deletions

View File

@@ -93,7 +93,11 @@ private:
SmallVector<Value> mmaColIdx(4);
SmallVector<Value> mmaRowIdx(2);
Value threadId = getThreadId(rewriter, loc);
#ifdef USE_ROCM
Value warpSize = idx_val(64);
#else
Value warpSize = idx_val(32);
#endif
Value laneId = urem(threadId, warpSize);
Value warpId = udiv(threadId, warpSize);
// TODO: fix the bug in MMAEncodingAttr document