HPCombi
High Performance Combinatorics in C++ using vector instructions v1.0.0
Loading...
Searching...
No Matches
arch.hpp
Go to the documentation of this file.
1//****************************************************************************//
2// Copyright (C) 2023-2024 Florent Hivert <Florent.Hivert@lisn.fr>, //
3// //
4// This file is part of HP-Combi <https://github.com/libsemigroups/HPCombi> //
5// //
6// HP-Combi is free software: you can redistribute it and/or modify it //
7// under the terms of the GNU General Public License as published by the //
8// Free Software Foundation, either version 3 of the License, or //
9// (at your option) any later version. //
10// //
11// HP-Combi is distributed in the hope that it will be useful, but WITHOUT //
12// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or //
13// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License //
14// for more details. //
15// //
16// You should have received a copy of the GNU General Public License along //
17// with HP-Combi. If not, see <https://www.gnu.org/licenses/>. //
18//****************************************************************************//
19
20#ifndef HPCOMBI_ARCH_HPP_
21#define HPCOMBI_ARCH_HPP_
22
23#if defined(SIMDE_ARCH_AMD64) && !defined(SIMDE_ARCH_X86_SSE4_1)
24char const msg[] =
25 R("x86_64 architecture without required compiler flags for SSE-4.1 "
26 "instruction set. Did you forget to provide the flag -march="
27 "(native,avx,sse4.1) flag ?");
28#error(msg)
29#endif
30
31#endif // HPCOMBI_ARCH_HPP_