aclrtIpcMemImportPidInterServer

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

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

Prototype

1
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. For details about the type definition, see aclrtServerPid.

num

Input

Size of the serverPids array.

Returns

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