aclrtNotifySetImportPidInterServer

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

x

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Description

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

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

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 the type definition, see aclrtServerPid.

num

Input

Size of the serverPids array.

Returns

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