产品 |
是否支持 |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
|
x |
等待IterateBatch异步接口返回,支持连续输出到Global Memory。
1 | __aicore__ inline void WaitIterateBatch() |
参数名 |
输入/输出 |
描述 |
|---|---|---|
无 |
无 |
NA |
无
1 2 3 4 5 6 7 8 9 | AscendC::Matmul<aType, bType, cType, biasType> mm; mm.SetTensorA(gm_a[offsetA]); mm.SetTensorB(gm_b[offsetB]); if (tiling.isBias) { mm.SetBias(gm_bias[offsetBias]); } mm.IterateBatch(gm_c[offsetC], batchA, batchB, false); // do some others compute mm.WaitIterateBatch(); // 等待IterateBatch完成 |