Files
CMake/Tests/CudaOnly/DeviceLTO/file1.cu
Brad King af85fa7ac1 Tests: Remove unused dllexport markup from CudaOnly.DeviceLTO
The test does not use shared libraries.
2024-01-18 14:27:29 -05:00

12 lines
155 B
Plaintext

extern __device__ int file2_func(int);
void __global__ kernel(int x)
{
file2_func(x);
}
int launch_kernel(int x)
{
kernel<<<1, 1>>>(x);
return x;
}