GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Typedefs | Functions
tsmttsm.h File Reference

The specialized GEMM function tsmttsm. More...

#include "config.h"
#include "types.h"
#include "densemat.h"
#include "math.h"
Include dependency graph for tsmttsm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ghost_tsmttsm_parameters
 

Typedefs

typedef ghost_error(* ghost_tsmttsm_kernel )(ghost_densemat *, ghost_densemat *, ghost_densemat *, void *, void *, int)
 

Functions

ghost_error ghost_tsmttsm (ghost_densemat *x, ghost_densemat *v, ghost_densemat *w, void *alpha, void *beta, int reduce, int conjv, ghost_gemm_flags flags)
 Multiply a transposed distributed dense tall skinny matrix with another distributed dense tall skinny matrix and Allreduce the result. More...
 
ghost_error ghost_tsmttsm_valid (ghost_densemat *x, ghost_densemat *v, const char *transv, ghost_densemat *w, const char *transw, void *alpha, void *beta, int reduce, ghost_gemm_flags flags, int printerror)
 Check whether TSMTTSM can be applied instead of GEMM with the given arguments. More...
 

Detailed Description

The specialized GEMM function tsmttsm.

Author
Moritz Kreutzer morit.nosp@m.z.kr.nosp@m.eutze.nosp@m.r@fa.nosp@m.u.de

Typedef Documentation

typedef ghost_error(* ghost_tsmttsm_kernel)(ghost_densemat *, ghost_densemat *, ghost_densemat *, void *, void *, int)

Function Documentation

ghost_error ghost_tsmttsm_valid ( ghost_densemat x,
ghost_densemat v,
const char *  transv,
ghost_densemat w,
const char *  transw,
void *  alpha,
void *  beta,
int  reduce,
ghost_gemm_flags  flags,
int  printerror 
)

Check whether TSMTTSM can be applied instead of GEMM with the given arguments.

Parameters
x
v
transv
w
transw
alpha
beta
reduce
flags
printerrorPrint an error message if application is not possible.
Returns