Added Promise requirement to README.md

This commit is contained in:
Eugene Cheah 2016-03-11 01:43:47 +08:00
parent 9853b9221e
commit dbd8ec3ba5

View File

@ -43,6 +43,8 @@ In JavaScript, initialise the library:
var gpu = new GPU();
```
Note that this **requires** the Promise API, if you need to polyfill it, you can give our 'untested polyfill' a try [here](https://github.com/picoded/small_promise.js)
### Creating and Running Functions
Depnding on your output type, specify the intended dimensions of your output. You cannot have a accelerated function that does not specify any dimensions.