aclfvModify

Applicable Products

Product

Supported

Ascend 950PR&950DT products

×

Atlas A3 products

×

Atlas A2 products

×

Atlas 200I/500 A2 inference products

×

Atlas inference products

√

Atlas training products

×

Description

Modifies a specified feature in a repository. Only one feature in the repository can be modified at a time, and modifying features that do not exist is not allowed. This API does not apply to the N:M mode.

Atlas inference accelerator modules do not support this API.

Prototype

1
aclError aclfvModify(aclfvFeatureInfo *featureInfo)

Parameters

Parameter

Input/Output

Description

featureInfo

Input

Pointer to the feature description. For the type definition, see aclfvFeatureInfo.

The aclfvCreateFeatureInfo API must be called to create data of the aclfvFeatureInfo type before this API is called.

Return Value

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

Constraints

This API call automatically creates an internal stream for synchronous execution of tasks, and this stream resource is automatically released once the execution is complete.

Due to hardware limitations, the total number of streams is limited. For details, see aclrtCreateStream in Runtime API .