7#ifndef DBM_MULTIPLY_CPU_H
8#define DBM_MULTIPLY_CPU_H
@ DBM_MULTIPLY_BLAS_LIBRARY
@ DBM_MULTIPLY_TASK_REORDER
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.
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 p...
Internal struct for storing a batch of tasks along with its shape, which is tracked while the batch i...
Internal struct for storing a pack - essentially a shard for MPI.
Internal struct for storing a matrix shard.
Internal struct for storing a task, ie. a single block multiplication.