![]() |
Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
|
Functions | |
arax_proc * | arax_proc_register (const char *func_name) |
arax_proc * | arax_proc_get (const char *func_name) |
int | arax_proc_put (arax_proc *func) |
Functions usable from applications for manipulating Procedures.
arax_proc * arax_proc_get | ( | const char * | func_name | ) |
Retrieve a previously registered arax_proc pointer.
func_name | Descriptive name of function, as provided to arax_proc_register. |
Definition at line 400 of file impl.c.
References arax_object_ref_inc(), arax_pipe_find_proc(), arax_pipe_get, arax_proc_s::obj, and vpipe.
Referenced by arax_data_allocate_remote(), arax_data_get(), arax_data_set(), and ARAX_OBJ_DTOR_DECL().
int arax_proc_put | ( | arax_proc * | func | ) |
Delete registered arax_proc pointer.
func | arax_proc to be deleted. |
Definition at line 413 of file impl.c.
References arax_object_ref_dec(), and arax_proc_s::obj.
Referenced by arax_data_get(), and arax_data_set().
arax_proc * arax_proc_register | ( | const char * | func_name | ) |
Register a new process 'func_name'. Processes are accelerator agnostic and initially have no 'implementations'/functors. Returned arax_proc * identifies given function globally.
arax_proc_set_functor()
.func_name | Descriptive name of function, has to be unique for given type. |
Definition at line 384 of file impl.c.
References arax_pipe_find_proc(), arax_pipe_get, arax_proc_init(), and vpipe.