输入:nvcc -c kernel.cu时出现Cannot find compiler 'cl.exe' in PATH,需要在环境变量中加入VS2019中cl.exe的路径 我的安装环境是 设置好后就不会再提示上面那个错误了