opencl.cr
opencl.cr
This library is primarily maintained to provide necessary utilites to the num.cr
numerical library, so not all features may be covered. This library should however cover all basic use cases, as well as provide a lower level ability to implement more advanced use cases. Feel free to submit PR's to add functionality
Installation
-
Add the dependency to your
shard.yml
:dependencies: opencl: github: crystal-data/opencl.cr
-
Run
shards install
Usage
require "opencl"
device, context, queue = Cl.single_device_defaults
puts Cl.device_name(device)
Contributing
- Fork it (https://github.com/crystal-data/opencl.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Chris Zimmerman - creator and maintainer
Repository
opencl.cr
Owner
Statistic
- 7
- 0
- 0
- 5
- 0
- almost 4 years ago
- February 17, 2020
License
MIT License
Links
Synced at
Thu, 02 May 2024 09:02:55 GMT
Languages