Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
Loading...
Searching...
No Matches
arax_task_msg Struct Reference

#include <arax_task.h>

+ Collaboration diagram for arax_task_msg:

Data Fields

arax_object_s obj
 
arax_pipe_spipe
 
arax_accelaccel
 
arax_procproc
 
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_dataio []
 

Detailed Description

Arax Task message.

Definition at line 9 of file arax_task.h.

Field Documentation

◆ accel

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().

◆ done

◆ host_size

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().

◆ in_count

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().

◆ io

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().

◆ obj

Definition at line 11 of file arax_task.h.

Referenced by arax_task_free().

◆ out_count

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().

◆ pipe

arax_pipe_s* pipe

Definition at line 12 of file arax_task.h.

Referenced by arax_task_alloc().

◆ proc

arax_proc* proc

Process id

Definition at line 14 of file arax_task.h.

Referenced by arax_task_alloc().

◆ 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().

◆ stats

Task related statistics

Definition at line 20 of file arax_task.h.

Referenced by arax_task_stat(), and arax_task_submit().

◆ type

Type of task at issue

Definition at line 18 of file arax_task.h.


The documentation for this struct was generated from the following file: