![]() |
Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
|
#include <sys/time.h>#include <time.h>
Include dependency graph for arax_types.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | arax_accel_stats |
| struct | utils_timer_s |
| struct | arax_task_stats |
Typedefs | |
| typedef void | arax_accel |
| typedef void | arax_proc |
| typedef struct arax_accel_stats | arax_accel_stats_s |
| typedef struct utils_timer_s | utils_timer_s |
| typedef enum arax_accel_state | arax_accel_state_e |
| typedef void | arax_task |
| typedef void | arax_data |
| typedef enum arax_task_state_e | arax_task_state_e |
| typedef struct arax_task_stats | arax_task_stats_s |
| typedef enum arax_accel_type | arax_accel_type_e |
| typedef struct arch_alloc_s | arch_alloc_s |
| typedef void * | arax_buffer_s |
| typedef arax_task_state_e | AraxFunctor(arax_task *) |
Enumerations | |
| enum | arax_accel_state { accel_failed , accel_idle , accel_busy } |
| enum | arax_task_state_e { task_failed , task_issued , task_completed } |
| enum | arax_accel_type { ANY = 0 , GPU = 1 , GPU_SOFT = 2 , CPU = 3 , SDA = 4 , NANO_ARM = 5 , NANO_CORE = 6 , OPEN_CL = 7 , HIP = 8 , ARAX_ACCEL_TYPES } |
| typedef void arax_accel |
arax_accel: Accelerator descriptor.
Definition at line 9 of file arax_types.h.
| typedef enum arax_accel_state arax_accel_state_e |
Accelerator State enumeration.
| typedef struct arax_accel_stats arax_accel_stats_s |
Accelerator Statistics
| typedef enum arax_accel_type arax_accel_type_e |
Accelerator type enumeration. NOTE: If updated update types_map variable in arax_accel_types.c
| typedef void* arax_buffer_s |
Definition at line 102 of file arax_types.h.
| typedef void arax_data |
arax_data: Opaque data pointer.
Definition at line 56 of file arax_types.h.
| typedef void arax_proc |
arax_proc: Process descriptor.
Definition at line 14 of file arax_types.h.
| typedef void arax_task |
Arax Task Descriptor
Definition at line 51 of file arax_types.h.
| typedef enum arax_task_state_e arax_task_state_e |
Arax Task State enumeration.
| typedef struct arax_task_stats arax_task_stats_s |
Arax Task Statistics
| typedef arax_task_state_e AraxFunctor(arax_task *) |
Receives arguments and inputs/outputs. Performs argument marshalling and task issue to accelerator.
Definition at line 108 of file arax_types.h.
| typedef struct arch_alloc_s arch_alloc_s |
Definition at line 96 of file arax_types.h.
| typedef struct utils_timer_s utils_timer_s |
| enum arax_accel_state |
Accelerator State enumeration.
| Enumerator | |
|---|---|
| accel_failed | Accelerator has failed. |
| accel_idle | Accelerator is idle. |
| accel_busy | Accelerator is busy. |
Definition at line 41 of file arax_types.h.
| enum arax_accel_type |
Accelerator type enumeration. NOTE: If updated update types_map variable in arax_accel_types.c
Definition at line 82 of file arax_types.h.
| enum arax_task_state_e |
Arax Task State enumeration.
| Enumerator | |
|---|---|
| task_failed | Task execution failed. |
| task_issued | Task has been issued. |
| task_completed | Task has been completed. |
Definition at line 61 of file arax_types.h.