16 lines
271 B
Plaintext
Raw Normal View History

2017-04-14 19:02:05 +02:00
#include <type_traits>
#ifdef _WIN32
2018-08-09 18:06:22 +02:00
# define EXPORT __declspec(dllexport)
2017-04-14 19:02:05 +02:00
#else
2018-08-09 18:06:22 +02:00
# define EXPORT
2017-04-14 19:02:05 +02:00
#endif
using tt = std::true_type;
using ft = std::false_type;
EXPORT int __host__ shared_cuda11_func(int x)
{
return x * x + std::integral_constant<int, 17>::value;
}