---
title: CommMem
description: "内存段元数据描述结构体。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/programug/commopdev/hcclopdevapi_07_0005.html
sourcePath: /source/zh/canncommercial/900/programug/commopdev/hcclopdevapi_07_0005.html
indexId: d3dd54d1cecdc09bff611eb083929ad98e4013fcb68e6468dc3f5bcaf595405775
---
# CommMem

#### 功能说明

内存段元数据描述结构体。


#### 定义原型

```
typedef struct {
CommMemType type; /* 内存物理位置类型 */
void *addr;       /* 内存地址 */
uint64_t size;    /* 内存区域字节数 */
} CommMem;
```
