aclfvRepoDel

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Deletes a repository.

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.

Prototype

aclError aclfvRepoDel(aclfvSearchType type, aclfvRepoRange *repoRange)

Parameters

Parameter

Input/Output

Description

type

Input

Search type.

repoRange

Input

Pointer to the repository range to be deleted.

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

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.