Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are either the IPad or IPhone capable of 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.

like image 609
NoMoreZealots Avatar asked Jul 15 '10 17:07

NoMoreZealots


People also ask

Is iPhone 7 an arm64?

arm64 is the current 64-bit ARM CPU architecture, as used since the iPhone 5S and later (6, 6S, SE and 7), the iPad Air, Air 2 and Pro, with the A7 and later chips.

Which iOS devices use armv7?

An application built with armv7 will run on all current iOS devices, even those that support newer architectures (it will run as 32-bit on iPhone 5S and later). But on the other hand, an app built without armv7 will not run on older devices such as the iPhone 4/4S or the original iPad mini.

What does iOS compatibility mean?

Compatible iOS Product means all Apple products that are designed to interoperate with the Licensed Technology and, when applicable, that are capable of downloading and executing iOS Applications.


2 Answers

OpenCL is not yet part of iOS.

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.

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.

like image 94
Brad Larson Avatar answered Oct 17 '22 18:10

Brad Larson


Caution! This question is ranked as 2nd result by google. However most answers here (including mine) are out-of-date. People interested in OpenCL on iOS should visit more update-to-date entries like this -- https://stackoverflow.com/a/18847804/443016.


http://www.macrumors.com/2011/01/14/ios-4-3-beta-hints-at-opencl-capable-sgx543-gpu-in-future-devices/

iPad2's GPU, PowerVR SGX543 is capable of OpenCL.

Let's wait and see which iOS release will bring OpenCL APIs to us.:)

like image 20
Tim Wu Avatar answered Oct 17 '22 18:10

Tim Wu