用户空间代码是否可以利用NVIDIA的内核模块开源?

发布于 2025-01-30 11:37:41 字数 421 浏览 8 评论 0原文

Nvidia最近有 - 将其gpu linux内核驱动器提供(变体)。但是,它们不是开源的用户模式驱动程序库(例如libcuda.so)。

这是一个逐步的过程,并不是所有GPU最初都得到支持,但是无论这些细节如何:用户空间代码的开发人员是否可以利用这种开源?还是仅对内核开发人员有用/有用?

我个人希望能够做到的是避免打电话给当前的环境。如果现在可以从用户空间阅读这些信息,那可能很整洁。当然,这只是我的一厢情愿 - 我不知道如何检查驾驶员直接“暴露”的内容 - 如果有的话。

NVIDIA has recently announced they are open-sourcing (a variant of) their GPU Linux kernel driver. They are not, however, open-sourcing the user-mode driver libraries (e.g. libcuda.so).

It's a gradual process and not all GPUs are supported initially, but regardless of these details: Is there some way that developers of user-space code can leverage this open-sourcing? Or is it only interesting/useful for kernel developers?

What I would personally love to be able to do is avoid having to make libcuda calls to get the current context. If that piece of information were somehow readable now from userspace, that could be neat. Of course that's just wishful thinking on my part - I don't know how to check what the driver directly "exposes" - if anything.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文