aclfvRepoDel
Applicable Products
Product |
Supported |
|---|---|
× |
|
× |
|
× |
|
× |
|
√ |
|
× |
Description
Deletes a repository.
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 .
Parent topic: API for feature vector search (C)