Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / Module / CheckIPOSupported-CUDA / bar.cu
1 __device__ int foo_func(int);
2
3 void __global__ bar_kernel(int x)
4 {
5   foo_func(x);
6 }
7
8 int launch_kernel(int x)
9 {
10   bar_kernel<<<1, 1>>>(x);
11   return x;
12 }