MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / CopyOut

Method CopyOut

mllm/backends/ascend/kernels/vec_add.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 inQueueY.FreeTensor(yLocal);
56 }
57 __aicore__ inline void CopyOut(int32_t progress) {
58 AscendC::LocalTensor<half> zLocal = outQueueZ.DeQue<half>();
59 AscendC::DataCopy(zGm[progress * TILE_LENGTH], zLocal, TILE_LENGTH);
60 outQueueZ.FreeTensor(zLocal);
61 }
62
63 private:
64 AscendC::TPipe pipe;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected