PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
cgecfi2.h
1 
21 #ifndef CGECFI2_H
22 #define CGECFI2_H
23 
24 #define ipt_call( name, m1, n1, mb, nb ) \
25  ipt_c##name(plasma, (m1), (n1), (A+A11), (mb), (nb), sequence, request); \
26  ipt_c##name(plasma, (m1), (n-(n1)), (A+A12), (mb), (n-(n1)), sequence, request); \
27  ipt_c##name(plasma, (m-(m1)), (n1), (A+A21), (m-(m1)), (nb), sequence, request); \
28  ipt_c##name(plasma, (m-(m1)), (n-(n1)), (A+A22), (m-(m1)), (n-(n1)), sequence, request);
29 
30 #define ipt_cal2( name, m1, n1, mb, nb ) \
31  ipt_c##name(plasma, PlasmaIPT_NoDep, PlasmaIPT_NoDep, (m1), (n1), (A+A11), (mb), (nb), sequence, request); \
32  ipt_c##name(plasma, PlasmaIPT_NoDep, PlasmaIPT_NoDep, (m1), (n-(n1)), (A+A12), (mb), (n-(n1)), sequence, request); \
33  ipt_c##name(plasma, PlasmaIPT_NoDep, PlasmaIPT_NoDep, (m-(m1)), (n1), (A+A21), (m-(m1)), (nb), sequence, request); \
34  ipt_c##name(plasma, PlasmaIPT_NoDep, PlasmaIPT_NoDep, (m-(m1)), (n-(n1)), (A+A22), (m-(m1)), (n-(n1)), sequence, request);
35 
36 /* one transformation */
37 #define ipt_crm2rrrb( plasma, m, n, A, mb, nb, seq, req) ipt_ccm2ccrb( (plasma), (n), (m), (A), (nb), (mb), (seq), (req));
38 #define ipt_crrrb2rm( plasma, m, n, A, mb, nb, seq, req) ipt_cccrb2cm( (plasma), (n), (m), (A), (nb), (mb), (seq), (req));
39 int ipt_ccm2ccrb (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
40 int ipt_cccrb2cm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
41 
42 int ipt_cccrb2crrb(plasma_context_t *plasma, PLASMA_enum idep, PLASMA_enum odep, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
43 int ipt_ccrrb2ccrb(plasma_context_t *plasma, PLASMA_enum idep, PLASMA_enum odep, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
44 int ipt_crcrb2rrrb(plasma_context_t *plasma, PLASMA_enum idep, PLASMA_enum odep, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
45 int ipt_crrrb2rcrb(plasma_context_t *plasma, PLASMA_enum idep, PLASMA_enum odep, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
46 
47 #define ipt_ccrrb2rrrb(plasma, m, n, A, mb, nb, seq, req) ipt_cccrb2rcrb((plasma), (m), (n), (A), (mb), (nb), (seq), (req));
48 #define ipt_crcrb2ccrb(plasma, m, n, A, mb, nb, seq, req) ipt_cccrb2rcrb((plasma), (n), (m), (A), (nb), (mb), (seq), (req));
49 #define ipt_crrrb2crrb(plasma, m, n, A, mb, nb, seq, req) ipt_cccrb2rcrb((plasma), (n), (m), (A), (nb), (mb), (seq), (req));
50 int ipt_cccrb2rcrb(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
51 
52 /* 2 transformations */
53 #define ipt_crm2crrb( plasma, m, n, A, mb, nb, seq, req) ipt_ccm2rcrb( (plasma), (n), (m), (A), (nb), (mb), (seq), (req));
54 #define ipt_ccrrb2rm( plasma, m, n, A, mb, nb, seq, req) ipt_crcrb2cm( (plasma), (n), (m), (A), (nb), (mb), (seq), (req));
55 int ipt_ccm2rcrb (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
56 int ipt_crcrb2cm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
57 
58 int ipt_cccrb2rrrb(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
59 int ipt_crrrb2ccrb(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
60 int ipt_ccrrb2rcrb(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
61 int ipt_crcrb2crrb(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
62 
63 int ipt_ccm2crrb (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
64 int ipt_ccrrb2cm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
65 int ipt_crcrb2rm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
66 int ipt_crm2rcrb (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
67 
68 /* 3 transformations */
69 int ipt_ccm2rrrb (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
70 int ipt_crrrb2cm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
71 int ipt_cccrb2rm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
72 int ipt_crm2ccrb (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
73 
74 /* 4 transformations */
75 int ipt_ccm2rm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
76 int ipt_crm2cm (plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
77 
78 
79 int ipt_cpanel2all(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
80 int ipt_call2panel(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
81 int ipt_cpanel2tile(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
82 int ipt_ctile2panel(plasma_context_t *plasma, int m, int n, PLASMA_Complex32_t *A, int mb, int nb, PLASMA_sequence *seq, PLASMA_request *req);
83 #endif /* CGECFI2_H */
Definition: plasma.h:34
Definition: plasma.h:24