PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
Functions | |
unsigned long long | QUARK_Execute_Task (Quark *quark, void(*function)(Quark *), Quark_Task_Flags *task_flags,...) |
These functions are used by internal QUARK and PLASMA developers to obtain very specific behavior, but are unsupported and may have unexpected results.
unsigned long long QUARK_Execute_Task | ( | Quark * | quark, |
void(*)(Quark *) | function, | ||
Quark_Task_Flags * | task_flags, | ||
... | |||
) |
Run this task in the current thread, at once, without scheduling. This is an unsupported function that can be used by developers for testing.
[in,out] | quark | The scheduler's main data structure. |
[in] | function | The function (task) to be executed by the scheduler |
[in] | task_flags | Flags to specify task behavior |
[in] | ... | Triplets of the form, ending with 0 for arg_size. arg_size, arg_ptr, arg_flags where arg_size: int: Size of the argument in bytes (0 cannot be used here) arg_ptr: pointer: Pointer to data or argument arg_flags: int: Flags indicating argument usage and various decorators INPUT, OUTPUT, INOUT, VALUE, NODEP, SCRATCH LOCALITY, ACCUMULATOR, GATHERV TASK_COLOR, TASK_LABEL (special decorators for VALUE) e.g., arg_flags INPUT | LOCALITY | ACCUMULATOR e.g., arg_flags VALUE | TASK_COLOR |
Definition at line 1313 of file quark.c.
References quark_task_s::args_list, CANCELLED, worker_s::current_task_ptr, quark_task_s::dependency_list, DONE, quark_task_s::function, icl_list_destroy(), pthread_mutex_destroy(), QUARK_Task_Init(), QUARK_Task_Pack_Arg(), QUARK_Thread_Rank(), RUNNING, quark_task_s::scratch_list, quark_task_s::status, quark_task_s::task_mutex, and quark_s::worker.