---
title: aclrtIpcMemImportPidInterServer
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/latest/API/runtimeapi/aclcppdevg_03_2015.html
sourcePath: /source/zh/CANNCommunityEdition/920beta1/API/runtimeapi/aclcppdevg_03_2015.html
indexId: b2dadf1efd1cd1f88a92e1271d18b9d3687e121402c463339f34b5b674b5fa7679
---
# aclrtIpcMemImportPidInterServer

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Ascend 950PR / Ascend 950DT | ☓ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | ☓ |
| Atlas 200I/500 A2 推理产品 | ☓ |
| Atlas 推理系列产品 | ☓ |
| Atlas 训练系列产品 | ☓ |


#### 功能说明

针对 Atlas A3 训练系列产品 / Atlas A3 推理系列产品 中的超节点产品，批量设置IPC共享内存的进程白名单。


#### 函数原型

```
aclError aclrtIpcMemImportPidInterServer(const char *key, aclrtServerPid *serverPids, size_t num)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| key | 输入 | 进程间共享时使用的名称。 必须先调用aclrtIpcMemGetExportKey接口获取共享内存key，再作为入参传入。 |
| serverPids | 输入 | 白名单信息数组。类型定义请参见aclrtServerPid。 |
| num | 输入 | serverPids数组的大小。 |


#### 返回值说明

返回0表示成功，返回其他值表示失败，请参见aclError。
