用户空间代码是否可以利用NVIDIA的内核模块开源?
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论