Apple 使用 CLang 和 LLVM 的 OpenCL 实现是开源的吗?
很明显,Apple 有一个 OpenCL 基于Clang和LLVM的实现。 这里还有一位 Apple 工程师关于如何让 OpenCL 在 LLVM 上运行的演讲
但是,此实现的代码是否可以在某种开源许可下使用,或者是闭源软件吗?如果代码尚未发布,有人知道将来是否会发布吗?在我们开始尝试实现我们自己的之前,想知道是否有基于 Clang 和 LLVM 的开源 OpenCL 实现...
It's clear that Apple has an OpenCL implementation based on Clang and LLVM. There's also a talk by an Apple Engineer about what it took to get OpenCL going on LLVM here
However, is the code for this implementation available under some sort of open-source license or is this closed source software? If the code hasn't been released, anyone know if perchance it might be in the future? Would like to know if there is an open-source OpenCL implementation based on Clang and LLVM before we go off and try to implement our own...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知(TTBOMK),唯一(甚至部分)开源的 OpenCL 实现是 三叶草。不幸的是,它还没有完成,甚至还没有接近可用,但无论如何你可能想看看它。
To the best of my knowledge(TTBOMK), the only (even partial) implementation of OpenCL that's open-source is Clover. Unfortunately, it's not finished or really even very close to usable, but you might want to look at it anyway.
嗯,我相信困难的部分都在叮当声中。例如,它的 ext_vector_type 扩展基本上就是您在 OpenCL 中获得的扩展。我认为苹果的任何主机部分都没有开放。我认为硬编译器部分在 clang 中已经为您提供了。
Well, I believe the hard parts are all in clang. For instance, it's ext_vector_type extension is basically what you get in OpenCL. I don't think any of Apple's host part is open. The hard compiler part I would think is all there for you in clang.