Are either the IPad or IPhone capable of OpenCL?

前端 未结 5 1151
-上瘾入骨i
-上瘾入骨i 2020-12-05 02:49

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 e

5条回答
  •  忘掉有多难
    2020-12-05 03:10

    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.

提交回复
热议问题