static.cu 180 B

123456789
  1. #include <type_traits>
  2. using tt = std::true_type;
  3. using ft = std::false_type;
  4. int __host__ static_cuda11_func(int x)
  5. {
  6. return x * x + std::integral_constant<int, 17>::value;
  7. }