]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - dense-linear-algebra-libraries/linalg.git/blob - blis/frame/2/her/bli_her_cntl.h
Consolidate all git repos of linalg into one.
[dense-linear-algebra-libraries/linalg.git] / blis / frame / 2 / her / bli_her_cntl.h
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 struct her_s
36 {
37         impl_t             impl_type;
38         varnum_t           var_num;
39         blksz_t*           b;
40         struct packv_s*    sub_packv_x1;
41         struct packm_s*    sub_packm_c11;
42         struct ger_s*      sub_ger;
43         struct her_s*      sub_her;
44         struct unpackm_s*  sub_unpackm_c11;
45 };
46 typedef struct her_s her_t;
48 #define cntl_sub_her( cntl )      cntl->sub_her
50 void   bli_her_cntl_init( void );
51 void   bli_her_cntl_finalize( void );
52 her_t* bli_her_cntl_obj_create( impl_t     impl_type,
53                                 varnum_t   var_num,
54                                 blksz_t*   b,
55                                 packv_t*   sub_packv_x1,
56                                 packm_t*   sub_packm_c11,
57                                 ger_t*     sub_ger,
58                                 her_t*     sub_her,
59                                 unpackm_t* sub_unpackm_c11 );
60 void bli_her_cntl_obj_init( her_t*     cntl,
61                             impl_t     impl_type,
62                             varnum_t   var_num,
63                             blksz_t*   b,
64                             packv_t*   sub_packv_x1,
65                             packm_t*   sub_packm_c11,
66                             ger_t*     sub_ger,
67                             her_t*     sub_her,
68                             unpackm_t* sub_unpackm_c11 );