---
title: aclrtMemcpyBatchAttr
description: "```"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/runtimeapi/aclcppdevg_03_1942.html
sourcePath: /source/zh/canncommercial/900/API/runtimeapi/aclcppdevg_03_1942.html
indexId: 0475cc2f26ef3aa0e4bea90bc4c17127d5fb85d26af13960aa86fc25cec8b6c868
---
# aclrtMemcpyBatchAttr

```
typedef struct {
    aclrtMemLocation dstLoc;   
    aclrtMemLocation srcLoc;   
    uint8_t rsv[16];           
} aclrtMemcpyBatchAttr;
```

| 成员名称 | 说明 |
| --- | --- |
| dstLoc | 目的内存所在位置。类型定义请参见aclrtMemLocation。 |
| srcLoc | 源内存所在位置。类型定义请参见aclrtMemLocation。 |
| rsv | 预留参数，当前固定配置为0。 |
