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

The specialized GEMM function tsmm (in-place). More...

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

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...
 

Detailed Description

The specialized GEMM function tsmm (in-place).

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

A tsmm-inplace kernel function.

Function Documentation

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.

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