You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
267 B
16 lines
267 B
8 years ago
|
|
||
|
#include <type_traits>
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#define EXPORT __declspec(dllexport)
|
||
|
#else
|
||
|
#define EXPORT
|
||
|
#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;
|
||
|
}
|