Skip to content

Commit

Permalink
Sigle entry file
Browse files Browse the repository at this point in the history
  • Loading branch information
hivert committed Jan 11, 2018
1 parent 9afd17f commit 7730916
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
6 changes: 4 additions & 2 deletions include/fallback/seq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
// http://www.gnu.org/licenses/ //
//****************************************************************************//

#ifndef HPCOMBI_FALLBACK_SEQ_HPP_INCLUDED
#define HPCOMBI_FALLBACK_SEQ_HPP_INCLUDED

#if __cplusplus <= 201103L
namespace bwcompat_details {
// Copy pasted from sources

Expand Down Expand Up @@ -80,4 +81,5 @@ namespace std {
using index_sequence_for = make_index_sequence<sizeof...(_Types)>;

} // namespace std
#endif

#endif // HPCOMBI_FALLBACK_SEQ_HPP_INCLUDED
21 changes: 21 additions & 0 deletions include/hpcombi.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//****************************************************************************//
// Copyright (C) 2016 Florent Hivert <[email protected]>, //
// //
// Distributed under the terms of the GNU General Public License (GPL) //
// //
// This code 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. //
// //
// The full text of the GPL is available at: //
// //
// http://www.gnu.org/licenses/ //
//****************************************************************************//

#ifndef HPCOMBI_HPCOMBI_HPP_INCLUDED
#define HPCOMBI_HPCOMBI_HPP_INCLUDED

#include "perm16"

#define HPCOMBI_HPCOMBI_HPP_INCLUDED
7 changes: 4 additions & 3 deletions include/perm16.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
#include <functional> // less<>
#include <ostream>
#include <x86intrin.h>
#include "fallback/seq.hpp"


#include "HPCombi-config.h"

#if __cplusplus <= 201103L
#include "fallback/seq.hpp"
#endif

#ifdef HPCOMBI_CONSTEXPR_FUN_ARGS
#define HPCOMBI_CONSTEXPR constexpr
#define HPCOMBI_CONSTEXPR_CONSTRUCTOR constexpr
Expand All @@ -35,7 +37,6 @@
#define HPCOMBI_CONSTEXPR_CONSTRUCTOR
#endif


namespace HPCombi {

/// SIMD vector of 16 unsigned bytes
Expand Down

0 comments on commit 7730916

Please sign in to comment.