SetMMRowMajor
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Usage
Prioritizes traversal along the N direction when performing Mmad. CUBE will first generate results through the N direction, and then proceed through the M direction.
Prototype
1 | __aicore__ inline void SetMMRowMajor() |
Parameters
None
Returns
None
Restrictions
None
Examples
1 | AscendC::SetMMRowMajor();// Set Mmad to prioritize computing the output matrix along the N direction first, then along the M direction. |
Parent topic: Cube Computation