![]() |
(git:27c966b)
|
Go to the source code of this file.
Enumerations | |
| enum | dbm_multiply_cpu_options { DBM_MULTIPLY_BLAS_LIBRARY = 1 , DBM_MULTIPLY_TASK_REORDER = 2 } |
| enum | dbm_multiply_task_order { DBM_TASK_ORDER_NONE = 0 , DBM_TASK_ORDER_SHAPE = 1 } |
Functions | |
| void | dbm_multiply_cpu_task_order (int ntasks, const dbm_task_t batch[ntasks], int order[ntasks]) |
| Internal routine for ordering the tasks of a batch approximately by shape. The order is returned as permutation of the task indexes. | |
| void | dbm_multiply_cpu_process_batch (const dbm_batch_t *batch, double alpha, const dbm_pack_t *pack_a, const dbm_pack_t *pack_b, dbm_shard_t *shard_c, int options) |
| Internal routine for executing the tasks in given batch on the CPU. | |
| Enumerator | |
|---|---|
| DBM_MULTIPLY_BLAS_LIBRARY | |
| DBM_MULTIPLY_TASK_REORDER | |
Definition at line 13 of file dbm_multiply_cpu.h.
| Enumerator | |
|---|---|
| DBM_TASK_ORDER_NONE | |
| DBM_TASK_ORDER_SHAPE | |
Definition at line 19 of file dbm_multiply_cpu.h.
| void dbm_multiply_cpu_task_order | ( | const int | ntasks, |
| const dbm_task_t | batch[ntasks], | ||
| int | order[ntasks] ) |
Internal routine for ordering the tasks of a batch approximately by shape. The order is returned as permutation of the task indexes.
Internal routine for ordering the tasks of a batch approximately by shape. The order is returned as permutation of the task indexes.
Definition at line 70 of file dbm_multiply_cpu.c.
| void dbm_multiply_cpu_process_batch | ( | const dbm_batch_t * | batch, |
| double | alpha, | ||
| const dbm_pack_t * | pack_a, | ||
| const dbm_pack_t * | pack_b, | ||
| dbm_shard_t * | shard_c, | ||
| int | options ) |
Internal routine for executing the tasks in given batch on the CPU.
Definition at line 92 of file dbm_multiply_cpu.c.