aclprofDestroySubscribeConfig

Applicability

Product

Supported

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

Destroys data of the aclprofSubscribeConfig type created by the aclprofCreateSubscribeConfig call.

Restrictions

  • Use this API together with the aclprofCreateSubscribeConfig API. Call aclprofCreateSubscribeConfig first and then aclprofDestroySubscribeConfig.
  • If the same aclprofSubscribeConfig pointer repeatedly calls the aclprofDestroySubscribeConfig API, an error indicating that the memory is freed repeatedly is reported.

Prototype

aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscribeConfig)

Parameters

Parameter

Input/Output

Description

profSubscribeConfig

Input

Pointer to data of the aclprofSubscribeConfig type.

Returns

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