Problem with CUDA project in Visual Studio 2019

I downloaded CUDA 11.2 (11.2.1_461.09_win10 to be exact).
I loaded up Visual Studio 2019 (Community Edition 16.8.4) and found the project template for CUDA.
The example provided in the template gets a compile error “expected an expression” on line 91

addKernel<<<1, size>>>(dev_c, dev_a, dev_b)

with a red squiggle under the third <.

Is there some configuration problem with VS 2019 or the template?

1 Like