Skip to content

QaDeS/ffi-opencl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffi-opencl

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.

Installation

[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

Non Ruby dependencies

You need these to use the gem:

  • libffi

  • OpenCL Driver

Gem development

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

TODO

  • Test cases to help verify that it works correctly on different OSs and CPU architectures

  • More and better examples

About

An automatically generated FFI for OpenCL

Resources

License

Stars

Watchers

Forks

Packages

No packages published