This is an automatically generated ffi to OpenCL. There are no rubyisms to make the OpenCL API easier to use.
Copyright © 2009 Martin Hess. See LICENSE for details.
[sudo] gem install ffi-opencl
or you can get it off github:
[sudo] gem install hessml-ffi-opencl –source gems.github.com
Or you can permanently add github to your gemservers with:
gem sources -a gems.github.com [sudo] gem install ffi-opencl
You need these to use the gem:
-
libffi
-
OpenCL Driver
You need this non-ruby executable if you want to work on the gem:
-
swig
On a Mac this can be installed with:
sudo port install libffi swig Additionally, you will need the ruby gem:
-
ffi-swig-generator
-
Test cases to help verify that it works correctly on different OSs and CPU architectures
-
More and better examples