We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
CUDA 编程指南的附录 B 和 C 包含可在内核中执行的函数的文档。它们主要用于纹理获取、原子指令、扭曲投票、同步和 C 标准库数学运算等。
文档非常稀疏,因为这些函数的含义在 C 标准库文档中的其他地方进行了描述。其中一些功能非常深奥。别人的意思从名字就能猜到。对于您不认识的内容,您可以使用诸如“site:opengroup.org nextafter”之类的查询来搜索手册页。如果您使用的是 *nix 机器并且安装了 C 库文档,则输入
man nextafter
也可以。Appendices B and C of the CUDA Programming Guide contain documentation for functions that can be executed within kernels. Mostly they are for things like texture fetches, atomic instructions, warp voting, synchronization, and C standard library mathematical operations.
The documentation is very sparse because the meaning of these functions is described elsewhere, in the C standard library documentation. Some of these functions are quite esoteric. The meaning of others can be guessed at from the name. For the ones that you do not recognize, you can google for the man page with a query such as "site:opengroup.org nextafter". If you are on a *nix machine and have the C library documentation installed, typing
man nextafter
will also work.