gem5
v20.1.0.0
|
Functions | |
hsa_status_t HSA_API | hsa_status_string (hsa_status_t status, const char **status_string) |
Query additional information about a status code. More... | |
enum hsa_status_t |
Status codes.
Enumerator | |
---|---|
HSA_STATUS_SUCCESS | The function has been executed successfully. |
HSA_STATUS_INFO_BREAK | A traversal over a list of elements has been interrupted by the application before completing. |
HSA_STATUS_ERROR | A generic error has occurred. |
HSA_STATUS_ERROR_INVALID_ARGUMENT | One of the actual arguments does not meet a precondition stated in the documentation of the corresponding formal argument. |
HSA_STATUS_ERROR_INVALID_QUEUE_CREATION | The requested queue creation is not valid. |
HSA_STATUS_ERROR_INVALID_ALLOCATION | The requested allocation is not valid. |
HSA_STATUS_ERROR_INVALID_AGENT | The agent is invalid. |
HSA_STATUS_ERROR_INVALID_REGION | The memory region is invalid. |
HSA_STATUS_ERROR_INVALID_SIGNAL | The signal is invalid. |
HSA_STATUS_ERROR_INVALID_QUEUE | The queue is invalid. |
HSA_STATUS_ERROR_OUT_OF_RESOURCES | The HSA runtime failed to allocate the necessary resources. This error may also occur when the HSA runtime needs to spawn threads or create internal OS-specific events. |
HSA_STATUS_ERROR_INVALID_PACKET_FORMAT | The AQL packet is malformed. |
HSA_STATUS_ERROR_RESOURCE_FREE | An error has been detected while releasing a resource. |
HSA_STATUS_ERROR_NOT_INITIALIZED | An API other than hsa_init has been invoked while the reference count of the HSA runtime is 0. |
HSA_STATUS_ERROR_REFCOUNT_OVERFLOW | The maximum reference count for the object has been reached. |
HSA_STATUS_ERROR_INCOMPATIBLE_ARGUMENTS | The arguments passed to a functions are not compatible. |
HSA_STATUS_ERROR_INVALID_INDEX | The index is invalid. |
HSA_STATUS_ERROR_INVALID_ISA | The instruction set architecture is invalid. |
HSA_STATUS_ERROR_INVALID_ISA_NAME | The instruction set architecture name is invalid. |
HSA_STATUS_ERROR_INVALID_CODE_OBJECT | The code object is invalid. |
HSA_STATUS_ERROR_INVALID_EXECUTABLE | The executable is invalid. |
HSA_STATUS_ERROR_FROZEN_EXECUTABLE | The executable is frozen. |
HSA_STATUS_ERROR_INVALID_SYMBOL_NAME | There is no symbol with the given name. |
HSA_STATUS_ERROR_VARIABLE_ALREADY_DEFINED | The variable is already defined. |
HSA_STATUS_ERROR_VARIABLE_UNDEFINED | The variable is undefined. |
HSA_STATUS_ERROR_EXCEPTION | An HSAIL operation resulted in a hardware exception. |
HSA_STATUS_ERROR_INVALID_CODE_SYMBOL | The code object symbol is invalid. |
HSA_STATUS_ERROR_INVALID_EXECUTABLE_SYMBOL | The executable symbol is invalid. |
HSA_STATUS_ERROR_INVALID_FILE | The file descriptor is invalid. |
HSA_STATUS_ERROR_INVALID_CODE_OBJECT_READER | The code object reader is invalid. |
HSA_STATUS_ERROR_INVALID_CACHE | The cache is invalid. |
HSA_STATUS_ERROR_INVALID_WAVEFRONT | The wavefront is invalid. |
HSA_STATUS_ERROR_INVALID_SIGNAL_GROUP | The signal group is invalid. |
HSA_STATUS_ERROR_INVALID_RUNTIME_STATE | The HSA runtime is not in the configuration state. |
hsa_status_t HSA_API hsa_status_string | ( | hsa_status_t | status, |
const char ** | status_string | ||
) |
Query additional information about a status code.
[in] | status | Status code. |
[out] | status_string | A NUL-terminated string that describes the error status. |
HSA_STATUS_SUCCESS | The function has been executed successfully. |
HSA_STATUS_ERROR_NOT_INITIALIZED | The HSA runtime has not been initialized. |
HSA_STATUS_ERROR_INVALID_ARGUMENT | status is an invalid status code, or status_string is NULL. |