https://github.com/yoshoku/numo-linalg-autoloader
Numo::Linalg::Autoloader is a module that has a method loading backend libraries automatically according to an execution environment
https://github.com/yoshoku/numo-linalg-autoloader
ruby
Last synced: 8 months ago
JSON representation
Numo::Linalg::Autoloader is a module that has a method loading backend libraries automatically according to an execution environment
- Host: GitHub
- URL: https://github.com/yoshoku/numo-linalg-autoloader
- Owner: yoshoku
- License: other
- Created: 2018-01-01T09:29:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-07T13:49:09.000Z (over 5 years ago)
- Last Synced: 2025-01-08T03:56:17.369Z (9 months ago)
- Topics: ruby
- Language: Ruby
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Numo::Linalg::Autoloader
Numo::Linalg::Autoloader is a module that has a method loading backend libraries automatically
according to an execution environment.
The library is confirmed to work with Intel MKL and OpenBLAS (installed from source)
on macOS, Ubuntu, and CentOS.If you want to set the backend library yourself,
you should refear to the [official document](https://github.com/ruby-numo/linalg/blob/master/doc/select-backend.md).**Note that the library is [merged](https://github.com/ruby-numo/numo-linalg/pull/5) in Numo::Linalg now.
The Numo::Linalg version on which the library works is only 0.1.0.**## Installation
Add this line to your application's Gemfile:
```ruby
gem 'numo-linalg-autoloader'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install numo-linalg-autoloader
## Usage
```ruby
require 'numo/linalg/autoloader'
```## Development
After checking out the repo, run `bin/setup` to install dependencies. Then,
run `rake spec` 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](https://rubygems.org).## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/numo-linalg-autoloader.
This project is intended to be a safe, welcoming space for collaboration,
and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.## License
The gem is available as open source under the terms of the [BSD 3-clause License](https://opensource.org/licenses/BSD-3-Clause).
## Code of Conduct
Everyone interacting in the Numo::Linalg::Autoloader project’s codebases, issue trackers,
chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yoshoku/numo-linalg-autoloader/blob/master/CODE_OF_CONDUCT.md).