Finalize
Applicability
Product |
Supported (√/x) |
|---|---|
Atlas 350 Accelerator Card |
x |
√ |
|
√ |
|
x |
|
x |
|
x |
Note: For
Function Description
Cleans up HIXL resources.
Prototype
1 | void Finalize() |
Parameters
None
Example
Click GitCode, select the matching version, and obtain the sample from the examples/cpp directory.
Returns
None
Exception Handling
None
Restrictions
- This API must be used in conjunction 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.
Parent topic: HIXL APIs