HPCombi
High Performance Combinatorics in C++ using vector instructions v1.0.3
All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
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
22
23#ifndef HPCOMBI_ARCH_HPP_
24#define HPCOMBI_ARCH_HPP_
25
26#if defined(SIMDE_ARCH_AMD64) && !defined(SIMDE_ARCH_X86_SSE4_1)
27char const msg[] =
28 R("x86_64 architecture without required compiler flags for SSE-4.1 "
29 "instruction set. Did you forget to provide the flag -march="
30 "(native,avx,sse4.1) flag ?");
31#error(msg)
32#endif
33
34#endif // HPCOMBI_ARCH_HPP_