SetMMRowMajor

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 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.