acldvppInit

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

Function

Initializes the DVPP. Call this API before calling operator function APIs. No error is reported when this API is called repeatedly. It is recommended that this API be used together with acldvppFinalize to initialize and deinitialize the DVPP.

This API or aclInit can be called to initialize the DVPP. The difference is that calling this API only initializes the DVPP, while calling aclInit initializes the sub-functions (including the DVPP) of the ACL API. If both APIs are called, no failure message is returned.

Prototype

acldvppStatus acldvppInit(const char *configPath)

Parameters

Parameter

Input/Output

Description

configPath

Input

Reserved parameter, which is the pointer of the path where the configuration file is located, including the file name. Currently, this parameter needs to be set to a null pointer.

Returns

The status code acldvppStatus is returned. For details, see acldvpp Return Codes.