acldvppInit

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

☓

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 you use this API together with the acldvppFinalize API to initialize and deinitialize the DVPP.

Either this API or aclInit can be called to initialize the DVPP. The difference is that this API initializes only the DVPP, while aclInit initializes the DVPP and all sub-functions in acl. If both APIs are called, no failure message is returned.

Prototype

1
acldvppStatus acldvppInit(const char *configPath)

Parameters

Parameter

Input/Output

Description

configPath

Input

(Reserved) Pointer to the path where the configuration file is stored. The file name is included. Currently, this parameter needs to be set to a null pointer.

Returns

acldvppStatus status code. For details, see acldvpp Return Codes.