SetMMColumnMajor

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product AI Core

x

Atlas inference product Vector Core

x

Atlas training product

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.