![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
The specialized GEMM function tsmm (in-place). More...
Go to the source code of this file.
Classes | |
struct | ghost_tsmm_inplace_parameters |
Typedefs | |
typedef ghost_error(* | ghost_tsmm_inplace_kernel )(ghost_densemat *, ghost_densemat *, void *, void *) |
A tsmm-inplace kernel function. More... | |
Functions | |
ghost_error | ghost_tsmm_inplace (ghost_densemat *x, ghost_densemat *w, void *alpha, void *beta) |
Multiply a distributed dense tall skinny matrix with a redundant dense matrix in-place. More... | |
ghost_error | ghost_tsmm_inplace_valid (ghost_densemat *x, ghost_densemat *v, const char *transv, ghost_densemat *w, const char *transw, void *alpha, void *beta, int reduce, int printerror) |
Check whether TSMM-inplace can be applied instead of GEMM with the given arguments. More... | |
The specialized GEMM function tsmm (in-place).
typedef ghost_error(* ghost_tsmm_inplace_kernel)(ghost_densemat *, ghost_densemat *, void *, void *) |
A tsmm-inplace kernel function.
ghost_error ghost_tsmm_inplace_valid | ( | ghost_densemat * | x, |
ghost_densemat * | v, | ||
const char * | transv, | ||
ghost_densemat * | w, | ||
const char * | transw, | ||
void * | alpha, | ||
void * | beta, | ||
int | reduce, | ||
int | printerror | ||
) |
Check whether TSMM-inplace can be applied instead of GEMM with the given arguments.
x | |
v | |
transv | |
w | |
transw | |
alpha | |
beta | |
reduce | |
printerror | Print an error message if application is not possible. |