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