为什么 CUDA.rules 有两个相同的命令行

发布于 2024-08-16 02:32:27 字数 680 浏览 3 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

脱离于你 2024-08-23 02:32:27

第一个仅告诉您命令是什么,第二个实际执行命令。
echo 是显示文本的 dos 命令:

C:\>echo bla bla bla
bla bla bla

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:

C:\>echo bla bla bla
bla bla bla
伪装你 2024-08-23 02:32:27

第一行将在输出窗口中输出命令行

The first line will output the command line on the output window

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文