OS X Lion 是否为 Radeon 5770 提供 OpenCL 图像支持?
在 OS X Snow Leopard (10.6.8) 上,配备 Radeon 5770 显卡的 Mac Pro 不支持 OpenCL 图像支持。事实上,这被认为是 Snow Leopard 及更早版本的所有 AMD/ATI Radeon 卡的共同点。具体来说:
clGetDeviceInfo(cdDevices[uiDeviceUsed], CL_DEVICE_IMAGE_SUPPORT, sizeof(g_bImageSupport), &g_bImageSupport, NULL);
导致 g_bImageSupport 为 false。
我想知道是否有人在 Mac Pro 中拥有最终版本 10.7 (Lion) 和 Radeon 5770 显卡,可以检查 CL_DEVICE_IMAGE_SUPPORT 现在是否针对该硬件返回 true?
一个简单的测试是下载光线追踪四元数 Julia-Set 的 Apple 示例代码:
并构建并运行它。我的系统上的输出很遗憾:
Connecting to AMD ATI Radeon HD 5770...
Qjulia requires images: Images not supported on this device.
希望听到这现在可以在 Lion ...
- David 中使用。
On OS X Snow Leopard (10.6.8), OpenCL image support is not available on my Mac Pro with Radeon 5770 graphics card. Indeed this is believed to be common to all AMD/ATI Radeon cards under Snow Leopard and earlier. Specifically:
clGetDeviceInfo(cdDevices[uiDeviceUsed], CL_DEVICE_IMAGE_SUPPORT, sizeof(g_bImageSupport), &g_bImageSupport, NULL);
results in g_bImageSupport being false.
I want to know if anyone who has the final release 10.7 (Lion) and a Radeon 5770 graphics card in a Mac Pro, can check to see if CL_DEVICE_IMAGE_SUPPORT now returns true for this hardware?
An easy test is to download the Apple sample code for the raytraced Quarternion Julia-Set:
and build it and run it. The output on my system is sadly:
Connecting to AMD ATI Radeon HD 5770...
Qjulia requires images: Images not supported on this device.
Hope to hear that this now works in Lion ...
- David.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我正在 Radeon 5770 上运行 Lion 10.7.1,给出的示例效果很好(耶!),运行速度约为 150fps。所以...耶!
I'm running Lion 10.7.1 with a Radeon 5770 and the given example works great (yay!), running around 150fps. So... yay!
对我来说,它与 ATI Radeon 5870 配合得很好。初始数字运行在 290fps 左右。该示例需要 10.7 才能运行。
For me it works fine with ATI Radeon 5870. Initial figure running around 290fps. The example requires 10.7 to run.
根据我的评论,我正在使用 Radeon 5870 运行 10.7。示例应用程序可以连接到卡并渲染“事物”。
As per my comment, I'm running 10.7 with a Radeon 5870. The sample app can connect to the card and renders the "thing" fine.