mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-27 03:01:52 -04:00
Merge branch 'triton-mlir' into ifu-231117
This commit is contained in:
@@ -426,7 +426,7 @@ bool supportMMA(triton::DotOp op, int version) {
|
||||
#ifdef USE_ROCM
|
||||
static bool supportMFMAGranularity(int m, int n, int k) {
|
||||
// these limitations are dtype dependent, in future we may relax them
|
||||
const static std::pair<int, int> mfmaTypes[2] = {{32, 8}, {16, 16}};
|
||||
const static std::pair<int, int> mfmaTypes[] = {{32, 8}, {16, 16}, {4, 64}};
|
||||
for (const auto &mfmaType : mfmaTypes) {
|
||||
auto [granularityMN, granularityK] = mfmaType;
|
||||
if (m % granularityMN != 0 || n % granularityMN != 0)
|
||||
|
||||
Reference in New Issue
Block a user