华为计算微信公众号
昇腾AI开发者公众号
华为计算微博
华为计算今日头条
在910A上将数据从GM拷贝到A1(L1 Buffer),此时是32byte对齐,不会报错,拷贝接口如下:
//src=GM //TQue<QuePosition::A1, 1> inQueueA1 //dst=inQueueA1.AllocTensor<half>() DataCopy(dst[16], src[0], { 32, 1, 1, 0 });
但是在文档中写的却是L1 Buffer 512byte对齐: 通用约束
本帖最后由 匿名用户 于 2024/01/23 16:50:59 编辑
我要发帖子
在910A上将数据从GM拷贝到A1(L1 Buffer),此时是32byte对齐,不会报错,拷贝接口如下:
//src=GM //TQue<QuePosition::A1, 1> inQueueA1 //dst=inQueueA1.AllocTensor<half>() DataCopy(dst[16], src[0], { 32, 1, 1, 0 });但是在文档中写的却是L1 Buffer 512byte对齐: 通用约束