17 #include <type_traits>
24 template <
int I,
int... n>
25 constexpr
auto get(std::integer_sequence<int, n...>)
27 constexpr
int values[
sizeof...(n)] = {n...};
35 struct always_false : std::false_type {
46 struct integral_constant {
51 template <
typename lambda,
int... i>
58 template <
int... n,
typename lambda,
typename... arg_types>
96 template <
int... n,
typename lambda>
This file contains the interface used for initializing/terminating any hardware accelerator-related f...
#define SERAC_SUPPRESS_NVCC_HOSTDEVICE_WARNING
Macro to turn off specific nvcc warnings.
#define SERAC_HOST_DEVICE
Macro that evaluates to __host__ __device__ when compiling with nvcc and does nothing on a host compi...