Debian Codegraph @

frame/1m/bli_l1m_unb_var1.h

raw symbols SCIP
1 /*
2
3 BLIS
4 An object-based framework for developing high-performance BLAS-like
5 libraries.
6
7 Copyright (C) 2014, The University of Texas at Austin
8
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions are
11 met:
12 - Redistributions of source code must retain the above copyright
13 notice, this list of conditions and the following disclaimer.
14 - Redistributions in binary form must reproduce the above copyright
15 notice, this list of conditions and the following disclaimer in the
16 documentation and/or other materials provided with the distribution.
17 - Neither the name(s) of the copyright holder(s) nor the names of its
18 contributors may be used to endorse or promote products derived
19 from this software without specific prior written permission.
20
21 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
33 */
34
35
36 //
37 // Prototype BLAS-like interfaces with typed operands.
38 //
39
40 #undef GENTPROT
41 #define GENTPROT( ctype, ch, opname ) \
42 \
43 void PASTEMAC(ch,opname,_unb_var1) \
44 ( \
45 doff_t diagoffx, \
46 diag_t diagx, \
47 uplo_t uplox, \
48 trans_t transx, \
49 dim_t m, \
50 dim_t n, \
51 ctype* x, inc_t rs_x, inc_t cs_x, \
52 ctype* y, inc_t rs_y, inc_t cs_y, \
53 cntx_t* cntx \
54 );
55
56 INSERT_GENTPROT_BASIC( addm )
57 INSERT_GENTPROT_BASIC( copym )
58 INSERT_GENTPROT_BASIC( subm )
59
60
61 #undef GENTPROT
62 #define GENTPROT( ctype, ch, opname ) \
63 \
64 void PASTEMAC(ch,opname,_unb_var1) \
65 ( \
66 doff_t diagoffx, \
67 diag_t diagx, \
68 uplo_t uplox, \
69 trans_t transx, \
70 dim_t m, \
71 dim_t n, \
72 ctype* alpha, \
73 ctype* x, inc_t rs_x, inc_t cs_x, \
74 ctype* y, inc_t rs_y, inc_t cs_y, \
75 cntx_t* cntx \
76 );
77
78 INSERT_GENTPROT_BASIC( axpym )
79 INSERT_GENTPROT_BASIC( scal2m )
80
81
82 #undef GENTPROT
83 #define GENTPROT( ctype, ch, opname ) \
84 \
85 void PASTEMAC(ch,opname,_unb_var1) \
86 ( \
87 conj_t conjalpha, \
88 doff_t diagoffx, \
89 diag_t diagx, \
90 uplo_t uplox, \
91 dim_t m, \
92 dim_t n, \
93 ctype* alpha, \
94 ctype* x, inc_t rs_x, inc_t cs_x, \
95 cntx_t* cntx \
96 );
97
98 INSERT_GENTPROT_BASIC( invscalm )
99 INSERT_GENTPROT_BASIC( scalm )
100 INSERT_GENTPROT_BASIC( setm )
101
102
103 #undef GENTPROT
104 #define GENTPROT( ctype, ch, opname ) \
105 \
106 void PASTEMAC(ch,opname,_unb_var1) \
107 ( \
108 doff_t diagoffx, \
109 diag_t diagx, \
110 uplo_t uplox, \
111 trans_t transx, \
112 dim_t m, \
113 dim_t n, \
114 ctype* x, inc_t rs_x, inc_t cs_x, \
115 ctype* beta, \
116 ctype* y, inc_t rs_y, inc_t cs_y, \
117 cntx_t* cntx \
118 );
119
120 INSERT_GENTPROT_BASIC( xpbym )
121
122
123 #undef GENTPROT2
124 #define GENTPROT2( ctype_x, ctype_y, chx, chy, opname ) \
125 \
126 void PASTEMAC(chx,chy,opname,_unb_var1) \
127 ( \
128 doff_t diagoffx, \
129 diag_t diagx, \
130 uplo_t uplox, \
131 trans_t transx, \
132 dim_t m, \
133 dim_t n, \
134 ctype_x* x, inc_t rs_x, inc_t cs_x, \
135 ctype_y* beta, \
136 ctype_y* y, inc_t rs_y, inc_t cs_y, \
137 cntx_t* cntx \
138 );
139
140 INSERT_GENTPROT2_BASIC( xpbym_md )
141 INSERT_GENTPROT2_MIX_DP( xpbym_md )
142