mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
b90ae10dda
Fixes #22750
13 lines
146 B
Plaintext
13 lines
146 B
Plaintext
|
|
__device__ int function(int a, int b);
|
|
|
|
__global__ void kernel()
|
|
{
|
|
function(2, 3);
|
|
}
|
|
|
|
void test_unity_functions()
|
|
{
|
|
kernel<<<1, 1, 1>>>();
|
|
}
|