目录

Hotspot Accelerate Error Codes

This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.

501 Resource Occupied by Another Thread

Message

Resource occupied by another thread.

Description

The current resource is being used by another thread and the operation cannot be completed.

Possible causes

  1. The same hotspot acceleration context is accessed by multiple threads concurrently.
  2. A new call is made before the previous asynchronous operation is completed.

Solution

  1. Ensure that the same context is used in only one thread.
  2. Wait for the previous operation to complete before starting a new one.

1026800001 API Not Initialized Properly

Message

API not initialized properly.

Description

Before using the API for hotspot acceleration, you need to call the initialization API.

Possible causes

  1. Other APIs are called before the initialization API is called.
  2. Failed to call the initialization API.

Solution

  1. Ensure that the initialization API is called before any other Hotspot Accelerate APIs are called.
  2. Check the return value of the initialization API to ensure that the initialization is successful.

1026800002 Invalid Context Index

Message

Invalid context index.

Description

The input context index is invalid.

Possible causes

  1. The input context index is out of the valid range.
  2. The context has been destroyed or is invalid.

Solution

  1. Ensure that the input context index is within the valid range.
  2. Ensure that the context is still valid and has not been destroyed.