blob: dca98ff2d58aad5fb9ef093d2b71130b3c06ae74 [file] [log] [blame]
Austin Schuh9a24b372018-01-28 16:12:29 -08001/**************************************************************************************************
2* *
3* This file is part of BLASFEO. *
4* *
5* BLASFEO -- BLAS For Embedded Optimization. *
6* Copyright (C) 2016-2017 by Gianluca Frison. *
7* Developed at IMTEK (University of Freiburg) under the supervision of Moritz Diehl. *
8* All rights reserved. *
9* *
10* HPMPC is free software; you can redistribute it and/or *
11* modify it under the terms of the GNU Lesser General Public *
12* License as published by the Free Software Foundation; either *
13* version 2.1 of the License, or (at your option) any later version. *
14* *
15* HPMPC is distributed in the hope that it will be useful, *
16* but WITHOUT ANY WARRANTY; without even the implied warranty of *
17* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
18* See the GNU Lesser General Public License for more details. *
19* *
20* You should have received a copy of the GNU Lesser General Public *
21* License along with HPMPC; if not, write to the Free Software *
22* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
23* *
24* Author: Gianluca Frison, giaf (at) dtu.dk *
25* gianluca.frison (at) imtek.uni-freiburg.de *
26* *
27**************************************************************************************************/
28
29#include <stdlib.h>
30#include <stdio.h>
31
32#if defined(LA_BLAS)
33#if defined(REF_BLAS_BLIS)
34#include "s_blas_64.h"
35#else
36#include "s_blas.h"
37#endif
38#endif
39
40#include "../include/blasfeo_common.h"
41#include "../include/blasfeo_s_aux.h"
42
43
44
45#define REAL float
46
47#define STRMAT s_strmat
48
49#define GEMM_NN_LIBSTR sgemm_nn_libstr
50#define GEMM_NT_LIBSTR sgemm_nt_libstr
51#define SYRK_LN_LIBSTR ssyrk_ln_libstr
52#define SYRK_LN_MN_LIBSTR ssyrk_ln_mn_libstr
53#define TRMM_RLNN_LIBSTR strmm_rlnn_libstr
54#define TRMM_RUTN_LIBSTR strmm_rutn_libstr
55#define TRSM_LLNU_LIBSTR strsm_llnu_libstr
56#define TRSM_LUNN_LIBSTR strsm_lunn_libstr
57#define TRSM_RLTN_LIBSTR strsm_rltn_libstr
58#define TRSM_RLTU_LIBSTR strsm_rltu_libstr
59#define TRSM_RUTN_LIBSTR strsm_rutn_libstr
60
61#define COPY scopy_
62#define GEMM sgemm_
63#define SYRK ssyrk_
64#define TRMM strmm_
65#define TRSM strsm_
66
67
68
69#include "x_blas3_lib.c"
70