1 /*
3 BLIS
4 An object-based framework for developing high-performance BLAS-like
5 libraries.
7 Copyright (C) 2014, The University of Texas at Austin
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 of The University of Texas at Austin nor the names
18 of its contributors may be used to endorse or promote products
19 derived from this software without specific prior written permission.
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.
33 */
35 void bli_packm_blk_var2( obj_t* c,
36 obj_t* p,
37 packm_thrinfo_t* t );
40 #undef GENTPROTCO
41 #define GENTPROTCO( ctype, ctype_r, ch, chr, varname ) \
42 \
43 void PASTEMAC(ch,varname)( \
44 struc_t strucc, \
45 doff_t diagoffc, \
46 diag_t diagc, \
47 uplo_t uploc, \
48 trans_t transc, \
49 pack_t schema, \
50 bool_t invdiag, \
51 bool_t revifup, \
52 bool_t reviflo, \
53 dim_t m, \
54 dim_t n, \
55 dim_t m_max, \
56 dim_t n_max, \
57 void* kappa, \
58 void* c, inc_t rs_c, inc_t cs_c, \
59 void* p, inc_t rs_p, inc_t cs_p, \
60 dim_t pd_p, inc_t ps_p, \
61 void* packm_ker, \
62 packm_thrinfo_t* t \
63 );
65 INSERT_GENTPROTCO_BASIC( packm_blk_var2 )