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
tsmm.h File Reference

The specialized GEMM function tsmm. More...

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

Go to the source code of this file.

Classes

struct  ghost_tsmm_parameters
 

Typedefs

typedef ghost_error(* ghost_tsmm_kernel )(ghost_densemat *, ghost_densemat *, ghost_densemat *, void *, void *)
 A tsmm kernel function. More...
 

Functions

ghost_error ghost_tsmm (ghost_densemat *x, ghost_densemat *v, ghost_densemat *w, void *alpha, void *beta)
 Multiply a distributed dense tall skinny matrix with a redundant dense matrix. More...
 
ghost_error ghost_tsmm_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 can be applied instead of GEMM with the given arguments. More...
 
int ghost_tsmm_perf_GBs (double *perf, double time, void *varg)
 
int ghost_tsmm_perf_GFs (double *perf, double time, void *varg)
 

Detailed Description

The specialized GEMM function tsmm.

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_tsmm_kernel)(ghost_densemat *, ghost_densemat *, ghost_densemat *, void *, void *)

A tsmm kernel function.

Function Documentation

int ghost_tsmm_perf_GBs ( double *  perf,
double  time,
void *  varg 
)
int ghost_tsmm_perf_GFs ( double *  perf,
double  time,
void *  varg 
)
ghost_error ghost_tsmm_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 can be applied instead of GEMM with the given arguments.

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