Skip to content

prasunanand/rbcuda

 
 

RbCUDA

The main objectives of RbCUDA are:

  1. Map all of CUDA into Ruby
  2. Ready-made on-GPU linear algebra, reduction, scan using cuBLAS, cuMath, cuSolver libraries.
  3. Random Numer generator using cuRand
  4. Near-zero wrapping overhead.
  5. CUDA profiler for Ruby.

In the near future:

  1. fast-fourier transform(cuFFT)
  2. Parallel Primitives and Data Structures(Thrust)
  3. Image processing (NVIDIA Performance Primitives Library).

Installation

Add this line to your application's Gemfile:

git clone https://github.com/prasunanand/rbcuda
bundle install
rake compile
rake test

Usage

TODO: Write usage instructions here

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/prasunanand/rbcuda. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Code of Conduct

Everyone interacting in the Rbcuda project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Acknowledgements

  • Ruby Association (Japan) for providing the initial funding for this project through the Ruby Association Grant 2017
  • Special Thanks to Kenta Murata (@mrkn) for his support and mentorship
  • Fukuoka Ruby Award 2018

LICENSE

This software is distributed under the BSD 3-Clause License.

Copyright © 2017, Prasun Anand

About

CUDA bindings for Ruby

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.4%
  • Ruby 3.5%
  • Other 0.1%