简体   繁体   English

了解Nvidia开普勒装配说明

[英]understanding Nvidia Kepler Assembly instructions

I came across this document cuobjdump.pdf . 偶然发现了这个文件cuobjdump.pdf

It lists the Fermi and Kepler instruction but with no additional explanation. 它列出了费米和开普勒指令,但没有其他解释。

Apart from the usual add, subtract, multiply, etc .. I do not get what other instruction mean or do. 除了通常的加,减,乘等等。我没有得到其他指令的意思或做法。 Can anybody help me with that or point me to a document or link that explain them ?? 任何人都可以帮助我,或指向我解释他们的文件或链接?

The document you linked is actually distributed with the CUDA toolkit. 您链接的文档实际上是与CUDA工具包一起分发的。 For example, with a standard install of the linux CUDA 5 toolkit, that document will be located in the /usr/local/cuda/doc/pdf directory. 例如,通过标准安装linux CUDA 5工具包,该文档将位于/usr/local/cuda/doc/pdf目录中。 (On windows just use the file search to find that filename.) (在Windows上只需使用文件搜索来查找该文件名。)

Also in that directory (or here ) is the PTX ISA document. 此目录(或此处 )也是PTX ISA文档。 Although PTX (an intermediate code) and the actual machine code (the output produced by cuobjdump) are not indentical, they are close enough that if you study the PTX document, you should have a pretty good understanding of the machine code instructions. 虽然PTX(一个中间代码)和实际的机器代码(cuobjdump生成的输出)不是一致的,但它们足够接近,如果你学习PTX文档,你应该对机器代码指令有一个很好的理解。 Most instructions in machine code have a similarly named counterpart in PTX. 机器代码中的大多数指令在PTX中具有类似命名的对应指令。 For example, SHF (integer funnel shift) is documented in the PTX ISA document, and is referenced under the Kepler section of the cuobjdump document. 例如, SHF (整数漏斗移位)记录在PTX ISA文档中,并在cuobjdump文档的Kepler部分引用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM