mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[MFMA] Refactor dot pipeline to reduce code duplication (#400)
This PR: - simplifies data types generated by `shared->mfma dot op` layout conversions. Do not pack data types in int32 or int64 - reduce code duplication between fast/normal path - reduce code duplication between operand A and operand B Co-authored-by: Shucai Xiao <shucai.xiao@amd.com> Co-authored-by: Lixun Zhang <lixun.zhang@amd.com>
This commit is contained in:
@@ -855,8 +855,7 @@ section 9.7.13.4.1 for more details.
|
||||
int bitwidth) const;
|
||||
#ifdef USE_ROCM
|
||||
SmallVector<int64_t> getMFMAElemsPerInstr() const;
|
||||
SmallVector<int64_t> getMFMARep(ArrayRef<int64_t> operandShape,
|
||||
Type elemType) const;
|
||||
SmallVector<int64_t> getMFMARep(ArrayRef<int64_t> operandShape) const;
|
||||
#endif
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user