Finalize

Applicable Products

Product

Supported (√/x)

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

x

Atlas inference products

x

Atlas training products

x

Note: For Atlas A2 training products/Atlas A2 inference products, only the Atlas 800I A2 inference server and A200I A2 Box heterogeneous subrack are supported.

Function Description

Cleans up AdxlEngine resources.

Prototype

1
void Finalize()

Parameters

None

Returns

None

Exception Handling

None

Constraints

  • This API must be used together with Initialize.
  • You are advised to disconnect the link and deregister the memory before calling Finalize.
  • The server needs to call this API after all clients have disconnected. If the server exits prematurely, an error will occur during client disconnection and data transmission.
  • When the client needs to perform remote read and write operations on the server's address, the server must wait until these operations are completed before calling this API; otherwise, the operation will fail.
  • This API cannot be called concurrently with other APIs.