| 85 | } |
| 86 | |
| 87 | int main() { |
| 88 | // CHECK: 1 |
| 89 | run<int>([](auto grid, auto block, auto* in, auto* out) { |
| 90 | pcudaLaunchKernelGGL(wrapper, grid, block, 0, 0, in, out); |
| 91 | }); |
| 92 | |
| 93 | // CHECK: 1 |
| 94 | run<int>([](auto grid, auto block, auto* in, auto* out) { |
| 95 | pcudaParallelFor(grid, block, [=](){ |
| 96 | wrapper(in, out); |
| 97 | }); |
| 98 | }); |
| 99 | |
| 100 | // CHECK: 1 |
| 101 | run<complex_struct>([](auto grid, auto block, auto* in, auto* out) { |
| 102 | pcudaLaunchKernelGGL(wrapper, grid, block, 0, 0, in, out); |
| 103 | }); |
| 104 | |
| 105 | // CHECK: 1 |
| 106 | run<complex_struct>([](auto grid, auto block, auto* in, auto* out) { |
| 107 | pcudaParallelFor(grid, block, [=](){ |
| 108 | wrapper(in, out); |
| 109 | }); |
| 110 | }); |
| 111 | } |
nothing calls this directly
no test coverage detected