HccnRpingDeinit

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

Deinitializes memory resources.

Prototype

1
HccnResult HccnRpingDeinit(HccnRpingCtx rpingCtx)

Parameters

Parameter

Input/Output

Description

rpingCtx

Input

Pointer to the RPing object to be deinitialized.

For the definition of the HccnRpingCtx type, see HccnRpingCtx.

Returns

Parsing result of the error code of the HccnResult type.

Constraints

  • This API proactively deinitializes resources. If the rpingCtx argument is empty, an exception may occur.
  • This API must be used together with HccnRpingInit. Before calling this API, ensure that HccnRpingInit has been called to complete initialization.
  • This API cannot be called repeatedly.