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 */
36 // --- BLIS to BLAS/LAPACK mappings --------------------------------------------
38 void bli_param_map_blis_to_netlib_side( side_t side, char* blas_side );
39 void bli_param_map_blis_to_netlib_uplo( uplo_t uplo, char* blas_uplo );
40 void bli_param_map_blis_to_netlib_trans( trans_t trans, char* blas_trans );
41 void bli_param_map_blis_to_netlib_diag( diag_t diag, char* blas_diag );
42 void bli_param_map_blis_to_netlib_machval( machval_t machval, char* blas_machval );
45 // --- BLAS/LAPACK to BLIS mappings --------------------------------------------
47 void bli_param_map_netlib_to_blis_side( char side, side_t* blis_side );
48 void bli_param_map_netlib_to_blis_uplo( char uplo, uplo_t* blis_uplo );
49 void bli_param_map_netlib_to_blis_trans( char trans, trans_t* blis_trans );
50 void bli_param_map_netlib_to_blis_diag( char diag, diag_t* blis_diag );
53 // --- BLIS char to BLIS mappings ----------------------------------------------
55 void bli_param_map_char_to_blis_side( char side, side_t* blis_side );
56 void bli_param_map_char_to_blis_uplo( char uplo, uplo_t* blis_uplo );
57 void bli_param_map_char_to_blis_trans( char trans, trans_t* blis_trans );
58 void bli_param_map_char_to_blis_conj( char conj, conj_t* blis_conj );
59 void bli_param_map_char_to_blis_diag( char diag, diag_t* blis_diag );
62 // --- BLIS to BLIS char mappings ----------------------------------------------
64 void bli_param_map_blis_to_char_side( side_t blis_side, char* side );
65 void bli_param_map_blis_to_char_uplo( uplo_t blis_uplo, char* uplo );
66 void bli_param_map_blis_to_char_trans( trans_t blis_trans, char* trans );
67 void bli_param_map_blis_to_char_conj( conj_t blis_conj, char* conj );
68 void bli_param_map_blis_to_char_diag( diag_t blis_diag, char* diag );