aclprofDestroySubscribeConfig

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

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

1
aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscribeConfig)

Parameters

Parameter

Input/Output

Description

profSubscribeConfig

Input

Pointer to data of the aclprofSubscribeConfig type. For details about the type definition, see aclprofSubscribeConfig.

Returns

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