Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/damienpontifex/opencl-in-action-swift
- Owner: damienpontifex
- Created: 2014-09-29T02:54:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-16T01:22:59.000Z (over 8 years ago)
- Last Synced: 2024-04-23T14:30:08.738Z (7 months ago)
- Topics: learning-opencl, opencl, swift
- Language: Swift
- Size: 20.5 KB
- Stars: 15
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.