opencl
Version, currently master branch1 version
- master branchlatestJun 30, 2020
github.com/crystal-data/opencl.cr
High-level OpenCL bindings for Crystal
8 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
opencl:
github: crystal-data/opencl.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.32.1- License
- MIT
- Author
- Chris Zimmerman <chris-zimmerman@live.com>
Dependencies
This version declares no dependencies.
README
# 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
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
opencl:
github: crystal-data/opencl.cr
```
2. Run `shards install`
## Usage
```crystal
require "opencl"
device, context, queue = Cl.single_device_defaults
puts Cl.device_name(device)
```
## Contributing
1. Fork it (<https://github.com/crystal-data/opencl.cr/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [Chris Zimmerman](https://github.com/christopherzimmerman) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jun 30, 2020
- Crystal
0.32.1- Indexed
- yes
Dependents
Repository
github.com/crystal-data/opencl.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1