aclrtIpcMemImportPidInterServer

Applicability

Product

Supported

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

Description

Sets the trustlist of processes that can share memory through IPC for SuperPoDs in Atlas A3 training products/Atlas A3 inference products.

Prototype

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

Parameters

Parameter

Input/Output

Description

key

Input

Name used for inter-process sharing.

First call aclrtIpcMemGetExportKey to obtain the shared memory key and then pass it as an input.

serverPids

Input

Trustlist information array.

num

Input

Size of the serverPids array.

Returns

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