aclfvRepoDel

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

X

Atlas A3 training products / Atlas A3 inference products

X

Atlas A2 training products / Atlas A2 inference products

X

Atlas 200I/500 A2 inference products

X

Atlas inference products

√

Atlas training products

X

Function

Deletes a repository.

Atlas inference accelerator module : This API is not supported.

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 range to be deleted. For the type definition, see aclfvRepoRange.

Call aclfvCreateRepoRange to create data of the aclfvRepoRange type in advance.

Returns

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

Restrictions

  • In N:M mode, multithreaded adding, search, or deletion is not allowed.
  • This API call automatically creates a stream for synchronous task execution within the API. When the tasks are complete, the stream is automatically destroyed.

    Hardware has restrictions on the total number of streams. For details, see aclrtCreateStream.