aclfvRepoDel

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

Deletes a repository.

Atlas inference accelerator modules do not support this API.

Prototype

1
aclError aclfvRepoDel(aclfvSearchType type, aclfvRepoRange *repoRange)

Parameters

Parameter

Input/Output

Description

type

Input

Search type. For the type definition, see aclfvSearchType.

repoRange

Input

Pointer to the repository deletion range. For the type definition, see aclfvRepoRange.

The aclfvCreateRepoRange API must be called to create data of the aclfvRepoRange type before this API is called.

Return Value

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

Constraints

  • As this module is not thread-safe, multiple threads are not allowed to concurrently perform feature addition, search, or deletion in N:M mode.
  • 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 .