CUDA:内核 CRT 的文档?

发布于 2024-08-10 04:55:55 字数 1539 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

情定在深秋 2024-08-17 04:55:56

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.

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