CUDA Tookits 12.3 on Visual Studio 2022 has a bug

CUDA Toolkits 12.3 on Visual Studio 2022 has a bug,Kernel function has error on <<< symbol. It says Error 0029:Please enter expression.Please fix this bug or this toolkits cannot be used on VS 2022.

This is normal behavior. VS intellisense does not understand CUDA syntax. It doesn’t prevent you from using CUDA on VS 2022. You can still compile and run CUDA codes using VS 2022. An intellisense “error” does not prevent that.