我可以在分发给非开发人员计算机的应用程序中使用 openCL 吗?

发布于 2024-08-22 08:33:52 字数 437 浏览 4 评论 0原文

我最近开始学习如何使用 openCL 来加速我的代码的某些部分。到目前为止,速度增益令人印象深刻。在一种情况下,代码的运行速度比 CPU 上的运行速度快 50 倍。但是我想知道是否可以在生产环境中开始使用此代码。原因是我第一次尝试运行示例代码时没有任何效果。我可以通过在 Nvidia openCL SDK 下载页面下载驱动程序来运行它(我有一个 Geforce GTX260)。它在安装过程中给了我一个蓝色,但之后我能够运行示例程序并创建我自己的代码。

它对我来说不能“开箱即用”,这是否意味着主流驱动程序尚不支持它,尽管事实上它是在驱动程序下载页面上专门写的? ATI 支持怎么样?每个人都必须下载导致我安装时出现蓝屏的特殊驱动程序吗?

简而言之,openCL 准备好用于生产代码了吗?

如果有人能给我一些细节,我想知道。有没有人能够在多个不同的设备上运行一个简单的程序而无需安装任何与 SDK 相关的东西?

I recently started to learn how to use openCL to speed up some part of my code. So far the speed gain is impressive. In one case the code ran up to 50X faster than on the CPU. However I wonder if can start using this code in a production environnement. The reason is that the first time that I tried to run the example code, nothing worked. I was able to make it run by downloading the driver on the Nvidia openCL SDK download page (I have a Geforce GTX260). It gave me a blue during installation but after that I was able to run the example program and create my own code.

Does the fact that it didn't work "out of the box" for me mean that the mainstream drivers does not yet support it, despite the fact that it is specifically written that it does on the driver download page? What about ATI support? Will everyone have to download the special driver that gave me a blue screen on install?

In short, is openCL ready for production code?

If someone can give me some details, I'd like to know. Does anyone has been able to run a simple program on a number of different device without installing anything SDK related?

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

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

发布评论

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

评论(3

残月升风 2024-08-29 08:33:52

您可以在 Khronos Group 留言板上的 OpenCL 论坛上找到准确的答案。 OpenCL 工作组定期在那里闲逛。

You may find an accurate answer on the OpenCL forums on the Khronos Group message boards. The OpenCL work group hangs out there regularly.

々眼睛长脚气 2024-08-29 08:33:52

有没有人能够运行
一些简单的程序
不同设备无需安装
有什么SDK相关的吗?

不。例如,在 ATI 的 GPU 上,最终用户需要安装 ATI Stream SDK 才能运行 OpenCL 代码(仅拥有最新的图形驱动程序是不够的)。

Does anyone has been able to run a
simple program on a number of
different device without installing
anything SDK related?

Nop. For instance, on ATI's GPUs end-users need to install ATI Stream SDK in order to run OpenCL code (just having an up-to-date graphics driver is not sufficient).

深海里的那抹蓝 2024-08-29 08:33:52

您可能需要考虑尝试 DirectCompute(Microsoft 版本的 GPU 编程)或在 Snow Leopard Mac 上执行 OpenCL 工作。据我所知,您可以通过这两种方式向其他用户提供 GPU 编程解决方案,而无需任何驱动程序或其他安装麻烦。

You may want to consider trying DirectCompute (Microsoft's version of GPU programming) or doing your OpenCL work on a Snow Leopard Mac. Those are the two ways (that I know of) that you can deliver a GPU programming solution to another user without any driver or other installation hassle.

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