1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
/*
* Normaliz
* Copyright (C) 2007-2014 Winfried Bruns, Bogdan Ichim, Christof Soeger
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* As an exception, when this program is distributed through (i) the App Store
* by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or (iii) Google Play
* by Google Inc., then that store may impose any digital rights management,
* device limits and/or redistribution restrictions that are required by its
* terms of service.
*/
#ifdef NMZ_MIC_OFFLOAD
#pragma offload_attribute (push, target(mic))
#endif
#include "libnormaliz/libnormaliz.cpp"
#include "libnormaliz/integer.cpp"
#include "libnormaliz/vector_operations.cpp"
#include "libnormaliz/matrix.cpp"
#include "libnormaliz/simplex.cpp"
#include "libnormaliz/list_operations.cpp"
#include "libnormaliz/sublattice_representation.cpp"
#include "libnormaliz/reduction.cpp"
#include "libnormaliz/full_cone.cpp"
#include "libnormaliz/cone_dual_mode.cpp"
#include "libnormaliz/cone.cpp"
namespace libnormaliz {
#ifndef NMZ_MIC_OFFLOAD //offload with long is not supported
template class Cone<long>;
template class Matrix<long>;
template class Sublattice_Representation<long>;
template class Full_Cone<long>;
#endif
template class Cone<long long>;
template class Matrix<long long>;
template class Sublattice_Representation<long long>;
template class Full_Cone<long long>;
template class Cone<mpz_class>;
template class Matrix<mpz_class>;
template class Sublattice_Representation<mpz_class>;
template class Full_Cone<mpz_class>;
template size_t decimal_length<long>(long);
template size_t decimal_length<long long int>(long long int);
template size_t decimal_length<mpz_class>(mpz_class);
template long gcd<long>(const long& a, const long& b);
template long lcm<long>(const long& a, const long& b);
template long permutations<long>(const size_t& a, const size_t& b);
template long long gcd<long long>(const long long& a, const long long& b);
template long long lcm<long long>(const long long& a, const long long& b);
template long long permutations<long long>(const size_t& a, const size_t& b);
//template mpz_class gcd<mpz_class>(const mpz_class& a, const mpz_class& b);
//template mpz_class lcm<mpz_class>(const mpz_class& a, const mpz_class& b);
template mpz_class permutations<mpz_class>(const size_t& a, const size_t& b);
template ostream& operator<< <long>(ostream& out, const vector<long>& v);
template ostream& operator<< <long long>(ostream& out, const vector<long long>& v);
template ostream& operator<< <mpz_class>(ostream& out, const vector<mpz_class>& v);
}
#ifdef NMZ_MIC_OFFLOAD
#pragma offload_attribute (pop)
#endif
|