This module implements the matrix type-independent version, which performs error-checking first and then calls the the appropriate kernel implementation.
#include <assert.h>
#include <oski/common.h>
#include <oski/matrix.h>
Defines | |
#define | MatTransMatMultDefault MANGLE_(MatTransMatMultDefault) |
Mangled name for default sparse implementation. | |
Functions | |
static int | MatTransMatMultDefault (const oski_matrix_t A_tunable, oski_ataop_t op, oski_value_t alpha, const oski_vecview_t x, oski_value_t beta, oski_vecview_t y, oski_vecview_t t0) |
A default implementation of the sparse kernel based on multiple calls to sparse matrix-vector multiply. | |
int | oski_CheckArgsMatTransMatMult (const oski_matrix_t A_tunable, oski_ataop_t op, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, const oski_vecview_t t_view, const char *caller) |
Check input arguments for a routine with a signature like oski_MatTransMatMult(). | |
int | oski_MatTransMatMult (const oski_matrix_t A_tunable, oski_ataop_t op, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, oski_vecview_t y_view, oski_vecview_t t_view) |
Computes , where . | |
void | oski_MakeArglistMatTransMatMult (oski_ataop_t op, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, const oski_vecview_t t_view, oski_traceargs_MatTransMatMult_t *args) |
Initialize a static argument signature for oski_MatTransMatMult. |
|
A default implementation of the sparse kernel based on multiple calls to sparse matrix-vector multiply. This implementation provides a fall-back code in the event that no tuned implementation exists.
|
|
Check input arguments for a routine with a signature like oski_MatTransMatMult().
|