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