Skip to content

Fix broken headings in Markdown files #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ This is a companion repo for my [blog post on GPGPU computing on iOS](http://cie

For the record, in the extreme case, the GPU performed **over 64 times** faster than CPU.

##Requirements
## Requirements

####OpenGL ES 3.0 capable device
#### OpenGL ES 3.0 capable device
This basically boils down to A7 chip (iPhone 5s, iPad Air, Retina iPad mini).

####iOS 7.1
#### iOS 7.1
While this code uses a new feature of OpenGL ES 3.0 (namely Transform Feedback) and the feature itself does work in iOS 7.0.x, it is somehow dysfunctional. Due to a [confirmed bug](https://devforums.apple.com/message/929561#929561) (Apple dev account required), shaders that contain and *call* user defined functions do crash when used for Transform Feedback. While I could manually inline the function's body into the source code, my implementation generates shaders with variable number of `in` and `out` vectors and having a single function to call made shader generator significantly easier to create. While I've tested the code on iOS 7.1 beta 2, it should work on beta 1 as well.

Note, that if you are willing to write the shader manually or create a smarter shader generator that will not use user defined functions, you can make the code work on iOS 7.0.x.

##Important
## Important

This application doesn't display anything, it merely runs calculations on the CPU and the GPU then prints the benchmark output to the console.