为什么 CUDA.rules 有两个相同的命令行
CUDA.rules 文件的命令行是:
echo [编译器路径] [保留] [CInterleavedPTX] [ExtraNvccOptions] [拱门] -ccbin “$(VCInstallDir)bin” [仿真] [FastMath] [定义] -Xcompiler "/EHsc [警告] /nologo [优化] /Zi [运行时检查] [运行时] [类型信息] [ExtraCppOptions]”[包括] [MaxRegCount] [PtxAsOptionV] [Nvcc编译] “$(输入路径)”
[编译器路径][保留] [CInterleavedPTX] [ExtraNvccOptions] [拱门] -ccbin “$(VCInstallDir)bin” [仿真] [FastMath] [定义] -Xcompiler "/EHsc [警告] /nologo [优化] /Zi [运行时检查] [运行时] [类型信息] [ExtraCppOptions]”[包括] [MaxRegCount] [ptxasoptionv] [Nvcc编译] “$(输入路径)”“
为了清楚起见,我放入了一行,因为它显示了两个相同的命令(据我所知),除了第一个命令前面带有“echo”。有谁知道它的目的是什么这是?
谢谢
The commandline for CUDA.rules file is:
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] [Runtime] [TypeInfo]
[ExtraCppOptions]" [Include]
[MaxRegCount] [ptxasoptionv]
[NvccCompilation]
"$(InputPath)""
I have put in a line for clarity as it shows two command which are identical (as far as I can see), except the first one is preceded by "echo". Does anyone know what the purpose of this is?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
第一个仅告诉您命令是什么,第二个实际执行命令。
echo
是显示文本的 dos 命令:The first only tells you what the command is going to be, the second actually performs the command.
echo
is the dos command that displays text:第一行将在输出窗口中输出命令行
The first line will output the command line on the output window