CUDA.rules 文件的命令行是:
echo [CompilerPath] [Keep] [CInterleavedPTX] [ExtraNvccOptions] [Arch] -ccbin "$(VCInstallDir)bin" [Emulation] [FastMath] [Defines] -Xcompiler "/EHsc [Warning] /nologo [Optimization] /Zi [ RuntimeChecks] [Runtime] [TypeInfo] [ExtraCppOptions]" [Include] [MaxRegCount] [PtxAsOptionV] [NvccCompilation] "$(InputPath)"
[CompilerPath] [Keep] [CInterleavedPTX] [ExtraNvccOptions] [Arch] -ccbin "$(VCInstallDir)bin" [Emulation] [FastMath] [Defines] -Xcompiler "/EHsc [Warning] /nologo [Optimization] /Zi [RuntimeChecks ] [运行时] [TypeInfo] [ExtraCppOptions]" [包括] [MaxRegCount] [ptxasoptionv] [NvccCompilation] "$(InputPath)""
为清楚起见,我添加了一行,因为它显示了两个相同的命令(据我所知),除了第一个命令前面有“echo”。有谁知道这样做的目的是什么?
谢谢