aclmdlInitDump

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

Initializes dump.

This API needs to be used with other APIs to implement the following functions:

Prototype

1
aclError aclmdlInitDump()

Parameters

None

Returns

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

Restrictions

  • If information about the model, single-operator, and overflow/underflow operator dump configurations has been configured by the aclInit call, a failure message is returned when aclmdlInitDump is called.
  • aclmdlInitDump must be called after the aclInit call and before the model loading API call.

Reference

Currently, the aclInit API is also provided. During initialization, the dump configuration is passed as a JSON configuration file to dump the app data at runtime. In this mode, aclInit can be called only once in a process. To change the dump configuration, modify the JSON configuration file.