HccnRpingDeinit

Applicable Products

Product

Supported

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

☓

Atlas inference products

☓

Atlas training products

☓

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.