aclrtNotifySetImportPidInterServer

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

☓

Atlas inference products

☓

Atlas training products

☓

Function

Sets the trustlist of processes that can share a Notify object.

This API only applies to SuperPoD products in the Atlas A3 training products/Atlas A3 inference products.

Prototype

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

Parameters

Parameter

Input/Output

Description

notify

Input

Notify object. For details about the type definition, see aclrtNotify.

First call aclrtNotifyGetExportKey to obtain the share name of the specified Notify object and then pass the share name as an input.

serverPids

Input

Trustlist information array. For details about the type definition, see aclrtServerPid.

num

Input

Size of the serverPids array.

Returns

0 on success; otherwise, failure. For details, see aclError.