iPad 或 iPhone 是否支持 OpenCL? [英] Are either the IPad or IPhone capable of OpenCL?

查看:33
本文介绍了iPad 或 iPhone 是否支持 OpenCL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随着对支持多媒体的移动设备的推动,这似乎是在这些平台上提高性能的合乎逻辑的方法,同时保持通用软件的能效.我一直对作为 UI 和数据显示/输入使用的开发平台的 iPad 硬件感兴趣.但是很好奇设备本身的处理能力有多大.OpenCL 将使其成为一个多汁的硬件平台进行开发,即使许可看起来有点糟糕.

With the push towards multimedia enabled mobile devices this seems like a logical way to boost performance on these platforms, while keeping general purpose software power efficient. I've been interested in the IPad hardware as a developement platform for UI and data display / entry usage. But am curious of how much processing capability the device itself is capable of. OpenCL would make it a JUICY hardware platform to develop on, even though the licensing seems like it kinda stinks.

推荐答案

OpenCL 还不是 iOS 的一部分.

OpenCL is not yet part of iOS.

但是,较新的 iPhone、iPod touch 和 iPad 都有支持 OpenGL ES 2.0 的 GPU.2.0 允许您创建自己的可编程着色器以在 GPU 上运行,这将允许您执行高性能并行计算.虽然不如 OpenCL 优雅,但您或许可以解决许多相同的问题.

However, the newer iPhones, iPod touches, and the iPad all have GPUs that support OpenGL ES 2.0. 2.0 lets you create your own programmable shaders to run on the GPU, which would let you do high-performance parallel calculations. While not as elegant as OpenCL, you might be able to solve many of the same problems.

此外,iOS 4.0 还带来了 Accelerate 框架 它使您可以访问许多常见的基于向量的操作,以便在 CPU 上进行高性能计算.有关更多信息,请参阅 WWDC 2010 视频中的 Session 202 - The Accelerate framework for iPhone OS这个.

Additionally, iOS 4.0 brought with it the Accelerate framework which gives you access to many common vector-based operations for high-performance computing on the CPU. See Session 202 - The Accelerate framework for iPhone OS in the WWDC 2010 videos for more on this.

这篇关于iPad 或 iPhone 是否支持 OpenCL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆