1 /* ffpack_inst.C 2 * Copyright (C) 2015 FFLAS-FFPACK group 3 * Written by Clement Pernet <Clement.Pernet@imag.fr> 4 * 5 * 6 * ========LICENCE======== 7 * This file is part of the library FFLAS-FFPACK. 8 * 9 * FFLAS-FFPACK is free software: you can redistribute it and/or modify 10 * it under the terms of the GNU Lesser General Public 11 * License as published by the Free Software Foundation; either 12 * version 2.1 of the License, or (at your option) any later version. 13 * 14 * This library is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * Lesser General Public License for more details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with this library; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 * ========LICENCE======== 23 *. 24 */ 25 26 #ifndef __FFPACK_INST_C 27 #define __FFPACK_INST_C 28 29 // The ffpack lib should link to the compiled fflas lib 30 #ifndef FFLAS_COMPILED 31 #define FFLAS_COMPILED 32 #endif 33 34 #include "fflas-ffpack/fflas-ffpack-config.h" 35 36 #include "givaro/modular.h" 37 #include "givaro/modular-balanced.h" 38 #include "fflas-ffpack/ffpack/ffpack.h" 39 40 // This is a C file: we do template instantiations 41 #ifdef INST_OR_DECL 42 #undef INST_OR_DECL 43 #endif 44 #define INST_OR_DECL 45 46 #define FFLAS_FIELD Givaro::ModularBalanced 47 #define FFLAS_ELT double 48 #include "ffpack_inst_implem.inl" 49 #undef FFLAS_ELT 50 #define FFLAS_ELT float 51 #include "ffpack_inst_implem.inl" 52 #undef FFLAS_ELT 53 #define FFLAS_ELT int64_t 54 #include "ffpack_inst_implem.inl" 55 #undef FFLAS_ELT 56 #undef FFLAS_FIELD 57 58 #define FFLAS_FIELD Givaro::Modular 59 #define FFLAS_ELT double 60 #include "ffpack_inst_implem.inl" 61 #undef FFLAS_ELT 62 #define FFLAS_ELT float 63 #include "ffpack_inst_implem.inl" 64 #undef FFLAS_ELT 65 #define FFLAS_ELT int64_t 66 #include "ffpack_inst_implem.inl" 67 #undef FFLAS_ELT 68 #undef FFLAS_FIELD 69 70 #endif // __FFPACK_INST_C 71 /* -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 72 // vim:sts=4:sw=4:ts=4:et:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s 73