Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damienpontifex/opencl-in-action-swift

Generating OpenCL code using Swift and Grand Central Dispatch's OpenCL integration with Xcode. A direct reimplementation of the source code from the book 'OpenCL in Action' by Matthew Scarpino
https://github.com/damienpontifex/opencl-in-action-swift

learning-opencl opencl swift

Last synced: about 6 hours ago
JSON representation

Generating OpenCL code using Swift and Grand Central Dispatch's OpenCL integration with Xcode. A direct reimplementation of the source code from the book 'OpenCL in Action' by Matthew Scarpino

Awesome Lists containing this project

README

        

#OpenCL in Action

Matthew Scarpino's Book, *OpenCL in Action: How to accelerate graphics and computation*, is an excellent resource for learning OpenCL. Code is provided with the book and can be obtained from [Manning Publications](http://www.manning.com/scarpino2/).

I am developing and learning OpenCL on the Mac platform, and so am reimplementing the code from each chapter utilising Xcodes built in frameworks to make host development easier.

Controlling OpenCL on the host became a lot easier with [Interoperation with Grand Central Dispatch](https://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/SynchronizingCLandGL/SynchronizingCLandGL.html#//apple_ref/doc/uid/TP40008312-CH18-SW1). Thus I am using as simplified development as possible while using Swift on the host

Inspired by the C++ OpenCL wrapper I also created a Swift wrapper to simplify development located at [damienpontifex/SwiftOpenCL](https://github.com/damienpontifex/SwiftOpenCL) and have used that at later times with the Swift Package Manager.