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 {};
45 struct integral_constant {
50 template <
typename lambda,
int... i>
57 template <
int... n,
typename lambda,
typename... arg_types>
95 template <
int... n,
typename lambda>
This file contains the interface used for initializing/terminating any hardware accelerator-related f...
#define SMITH_SUPPRESS_NVCC_HOSTDEVICE_WARNING
Macro to turn off specific nvcc warnings.
#define SMITH_HOST_DEVICE
Macro that evaluates to __host__ __device__ when compiling with nvcc or amdclang and does nothing on ...