![]() |
Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
|
#include <arax_task.h>
Collaboration diagram for arax_task_msg:Data Fields | |
| arax_object_s | obj |
| arax_pipe_s * | pipe |
| arax_accel * | accel |
| arax_proc * | proc |
| size_t | host_size |
| int | in_count |
| int | out_count |
| arax_accel_type_e | type |
| arax_task_state_e | state |
| arax_task_stats_s | stats |
| async_completion_s | done |
| arax_data * | io [] |
Arax Task message.
Definition at line 9 of file arax_task.h.
| arax_accel* accel |
Accelerator responsible for this task
Definition at line 13 of file arax_task.h.
Referenced by ARAX_OBJ_DTOR_DECL(), arax_task_alloc(), and arax_task_submit().
| async_completion_s done |
Used for arax_task_mark_done(), arax_task_wait_done()
Definition at line 21 of file arax_task.h.
Referenced by arax_task_alloc(), arax_task_mark_done(), and arax_task_wait_done().
| size_t host_size |
Size of host_data in bytes
Definition at line 15 of file arax_task.h.
Referenced by arax_task_alloc(), and arax_task_host_data().
| int in_count |
Number of input buffers
Definition at line 16 of file arax_task.h.
Referenced by ARAX_OBJ_DTOR_DECL(), arax_task_alloc(), and arax_task_host_data().
| arax_data* io[] |
Array of input and output buffers has in_count+out_count elements. The first in_count elements point to the inputs and the remaining out_count elements point to the outputs
Definition at line 22 of file arax_task.h.
Referenced by ARAX_OBJ_DTOR_DECL(), and arax_task_alloc().
| arax_object_s obj |
Definition at line 11 of file arax_task.h.
Referenced by arax_task_free().
| int out_count |
Number of output buffers
Definition at line 17 of file arax_task.h.
Referenced by ARAX_OBJ_DTOR_DECL(), arax_task_alloc(), and arax_task_host_data().
| arax_pipe_s* pipe |
Definition at line 12 of file arax_task.h.
Referenced by arax_task_alloc().
| arax_proc* proc |
| arax_task_state_e state |
Current state of task.
Definition at line 19 of file arax_task.h.
Referenced by arax_task_mark_done(), arax_task_stat(), arax_task_submit(), arax_task_wait(), and arax_task_wait_done().
| arax_task_stats_s stats |
Task related statistics
Definition at line 20 of file arax_task.h.
Referenced by arax_task_stat(), and arax_task_submit().
| arax_accel_type_e type |
Type of task at issue
Definition at line 18 of file arax_task.h.