GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
compatibility_check.h
Go to the documentation of this file.
1 #ifndef GHOST_COMPATIBILITY_CHECK_H
2 #define GHOST_COMPATIBILITY_CHECK_H
3 
4 #include "context.h"
5 #include "sparsemat.h"
6 #include "densemat.h"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 typedef struct
12 {
14 
19 
24 }
26 
27 
28 typedef struct
29 {
35 
36  char transA;
37  char transB;
38  char transC;
39  char transD;
40 }
42 
43 typedef struct
44 {
49 }
51 
52 
53 //Checks the compatibility for routines involving sparsematrix and densematrix
55 
56 //Checks the compatibility for routines involving only densematrix
58 
59 //Checks the compatibility for routines involving initialization (or
60 //overwriting) of densematrix
62 
63 
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
72 
73 #endif
const ghost_compatible_vec_init GHOST_COMPATIBLE_VEC_INIT_INITIALIZER
Definition: compatibility_check.c:37
ghost_densemat * C
Definition: compatibility_check.h:32
Types and functions related to GHOST contexts.
char transD
Definition: compatibility_check.h:39
ghost_densemat * right1
Definition: compatibility_check.h:20
char transC
Definition: compatibility_check.h:38
char transA
Definition: compatibility_check.h:36
ghost_densemat * OUT_A
Definition: compatibility_check.h:47
const ghost_compatible_mat_vec GHOST_COMPATIBLE_MAT_VEC_INITIALIZER
Definition: compatibility_check.c:11
char transB
Definition: compatibility_check.h:37
ghost_densemat * D
Definition: compatibility_check.h:33
ghost_densemat * left1
Definition: compatibility_check.h:15
ghost_densemat * OUT_B
Definition: compatibility_check.h:48
ghost_densemat * OUT
Definition: compatibility_check.h:34
ghost_error
Error return type.
Definition: error.h:23
ghost_error ghost_check_vec_vec_compatibility(ghost_compatible_vec_vec *data)
Definition: compatibility_check.c:287
ghost_sparsemat * mat
Definition: compatibility_check.h:13
Definition: compatibility_check.h:43
ghost_densemat * IN_B
Definition: compatibility_check.h:46
ghost_densemat * left3
Definition: compatibility_check.h:17
ghost_densemat * right2
Definition: compatibility_check.h:21
const ghost_compatible_vec_vec GHOST_COMPATIBLE_VEC_VEC_INITIALIZER
Definition: compatibility_check.c:24
ghost_densemat * right3
Definition: compatibility_check.h:22
ghost_densemat * left4
Definition: compatibility_check.h:18
ghost_densemat * right4
Definition: compatibility_check.h:23
ghost_error ghost_check_vec_init_compatibility(ghost_compatible_vec_init *data)
Definition: compatibility_check.c:207
ghost_error ghost_check_mat_vec_compatibility(ghost_compatible_mat_vec *data, ghost_context *ctx)
Definition: compatibility_check.c:166
ghost_densemat * A
Definition: compatibility_check.h:30
ghost_densemat * IN_A
Definition: compatibility_check.h:45
A sparse matrix.
Definition: sparsemat.h:476
Definition: compatibility_check.h:28
The GHOST context.
Definition: context.h:108
ghost_densemat * left2
Definition: compatibility_check.h:16
ghost_densemat * B
Definition: compatibility_check.h:31
Types and functions related to sparse matrices.
Definition: compatibility_check.h:11
A dense vector/matrix.
Definition: densemat.h:226