---
title: aclrtNotifySetImportPidInterServer
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/runtimeapi/aclcppdevg_03_2017.html
sourcePath: /source/zh/canncommercial/900/API/runtimeapi/aclcppdevg_03_2017.html
indexId: 2e01cc1a4dfefa3de7a679317b43a911e08b37a0b0263c30369f6f9310a2d2bc68
---
# aclrtNotifySetImportPidInterServer

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | ☓ |
| Atlas 200I/500 A2 推理产品 | ☓ |
| Atlas 推理系列产品 | ☓ |
| Atlas 训练系列产品 | ☓ |


#### 功能说明

设置共享Notify的进程白名单。

该接口仅针对 Atlas A3 训练系列产品 / Atlas A3 推理系列产品 中的超节点产品，


#### 函数原型

```
aclError aclrtNotifySetImportPidInterServer(aclrtNotify notify, aclrtServerPid *serverPids, size_t num)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| notify | 输入 | 指定Notify。类型定义请参见aclrtNotify。 必须先调用aclrtNotifyGetExportKey接口获取指定Notify的共享名称，再作为入参传入。 |
| serverPids | 输入 | 白名单信息数组。类型定义请参见aclrtServerPid。 |
| num | 输入 | serverPids数组的大小。 |


#### 返回值说明

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