GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tsmttsm.h
Go to the documentation of this file.
1 
6 #ifndef GHOST_TSMTTSM_H
7 #define GHOST_TSMTTSM_H
8 
9 #include "config.h"
10 #include "types.h"
11 #include "densemat.h"
12 #include "math.h"
13 
14 typedef struct
15 {
18  int wcols;
19  int vcols;
22  int unroll;
24 
26 
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
62  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);
63 
80  ghost_error ghost_tsmttsm_valid(ghost_densemat *x, ghost_densemat *v, const char * transv,
81  ghost_densemat *w, const char *transw, void *alpha, void *beta, int reduce, ghost_gemm_flags flags, int printerror);
82 
83 #ifdef __cplusplus
84 }
85 #endif
86 #endif
87 
Functions for global mathematical operations.
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...
Definition: tsmttsm.cpp:126
ghost_implementation
Possible implementations of a CPU function.
Definition: types.h:323
int vcols
Definition: tsmttsm.h:19
Header file for type definitions.
ghost_implementation impl
Definition: tsmttsm.h:20
ghost_gemm_flags
Definition: math.h:45
Definition: tsmttsm.h:14
int unroll
Definition: tsmttsm.h:22
int wcols
Definition: tsmttsm.h:18
ghost_error
Error return type.
Definition: error.h:23
ghost_alignment
Possible alignments of data access.
Definition: types.h:315
ghost_alignment alignment
Definition: tsmttsm.h:16
ghost_datatype
Available primitive data types.
Definition: types.h:248
ghost_error(* ghost_tsmttsm_kernel)(ghost_densemat *, ghost_densemat *, ghost_densemat *, void *, void *, int)
Definition: tsmttsm.h:25
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.
Definition: tsmttsm.cpp:58
ghost_densemat_storage
Densemat storage orders.
Definition: densemat.h:94
ghost_datatype dt
Definition: tsmttsm.h:17
ghost_densemat_storage wstor
Definition: tsmttsm.h:21
A dense vector/matrix.
Definition: densemat.h:226