CMake/Tests/Cuda/ProperLinkFlags/file1.cu
2017-02-14 10:21:48 -05:00

12 lines
140 B
Plaintext

#include "file1.h"
result_type __device__ file1_func(int x)
{
__ldg(&x);
result_type r;
r.input = x;
r.sum = x * x;
return r;
}