arrayfire / arrayfire-rb

Ruby wrapper for ArrayFire
BSD 3-Clause "New" or "Revised" License
37 stars 4 forks source link

ArrayFire bindings for Linear Algebra #3

Closed prasunanand closed 7 years ago

prasunanand commented 7 years ago

Implemented following classes:

  1. Af_Array
  2. Algorithm
  3. Arith
  4. BLAS
  5. LAPACK
  6. CUDA
  7. OpenCL
  8. Device
  9. Random
  10. Sparse
  11. Statistics

Added exception handling. Only doubles implemented currently

v0dro commented 7 years ago

When do you plan to merge this?

prasunanand commented 7 years ago

@9prady9 You can merge this PR now :) .

v0dro commented 7 years ago

Is it possible to publish this using rubygems? Just gem install arrayfire-rb would be amazing.

v0dro commented 7 years ago

Also you should remove the statement saying that bindings aren't yet ready for production from README. And, add SciRuby to the acknowledgements at the bottom along with the website.

9prady9 commented 7 years ago

@v0dro I am not aware of rubygems, but in principle it should be possible. We have similar packaging in rust environment(rust package manager - cargo.io) known as crate. From the usage style, it seems like rubygems is similar to crates in Rust or javascript package manager - npm.

I don't think it is a good idea to remove the cautionary statements until all the feasible functionality from ArrayFire is ported over to the ruby bindings. For one, I don't think @prasunanand has worked on image processing functions yet. Also, I believe indexing hasn't been worked on either.

v0dro commented 7 years ago

Oh. Ok. @prasunanand can you create issues and set milestones for this purpose in the GitHub issue tracker? It will becomes easy for new contributors to quickly what's going on and how to contribute. Make things as granular as possible.

@9prady9 rubygems is the ruby packaging system and the central repository for most open source gems (yes, it is similar to npm and crates). Hosting the gem on rubygems will allow users to install with a single command instead of cloning and compiling.

9prady9 commented 7 years ago

@prasunanand @v0dro Please use this issue to track progress of implementing left over features.

prasunanand commented 7 years ago

Thanks @9prady9 for merging the PR.

@v0dro I am creating milestones and I will work on the missing features.

v0dro commented 7 years ago

Alright. I think you add them to @9prady9 's list.