18# include <feat_config.hpp>
24# error The DOXYGEN macro must not be defined at compile-time
31#if defined(FEAT_DEBUG_MODE) && !defined(DEBUG)
37#define FEAT_STRINGIFY_HELPER(x) #x
38#define FEAT_STRINGIFY(x) FEAT_STRINGIFY_HELPER(x)
43#define FEAT_CONCAT_HELPER(x,y) x##y
44#define FEAT_CONCAT(x,y) FEAT_CONCAT_HELPER(x,y)
50#include <kernel/util/compiler_intel_oneapi.hpp>
71#define FORCE_INLINE inline
75#ifndef FEAT_PRAGMA_IVDEP
76#define FEAT_PRAGMA_IVDEP
81#ifndef FEAT_DISABLE_WARNINGS
82#define FEAT_DISABLE_WARNINGS
84#ifndef FEAT_RESTORE_WARNINGS
85#define FEAT_RESTORE_WARNINGS
90#ifndef FEAT_PRAGMA_OMP
92#define FEAT_PRAGMA_OMP_HELPER(x) _Pragma(#x)
93#define FEAT_PRAGMA_OMP(x) FEAT_PRAGMA_OMP_HELPER(omp x)
95#define FEAT_PRAGMA_OMP(x)
100#ifdef FEAT_HAVE_QUADMATH
101# define FEAT_F128C(x) x##Q
103# define FEAT_F128C(x) x
128 typedef std::uint32_t
Index;
141 template <
typename E>
144 return static_cast<std::underlying_type_t<E>
>(e);
147#ifdef FEAT_ASYNC_OPERATIONS
167#define CUDA_HOST __host__
169#define CUDA_DEVICE __device__
171#define CUDA_HOST_DEVICE __host__ __device__
172#if defined(CUDART_VERSION) && (CUDART_VERSION >= 11020)
173 #define CUDA_ASYNC_SUPPORTED true
178#define CUDA_HOST_DEVICE
Compiler detection header for Clang C++ compiler.
Compiler detection header for Cray C++ compiler.
Compiler detection header for GNU C++ compiler.
Compiler detection header for Intel C++ compiler.
Compiler detection header for Microsoft Visual C++ compiler.
static constexpr bool async_operations
Controls if asynchronous operations should be used by default.
double Real
Real data type.
static constexpr int version_major
FEAT major version number.
static constexpr int version_patch
FEAT patch version number (month)
static constexpr int version_minor
FEAT minor version number (year)
constexpr auto to_underlying(E e) noexcept
Cast enum to underlying type.
std::uint64_t Index
Index data type.