https://github.com/aandreba/hlocl
High-level bindings for OpenCL
https://github.com/aandreba/hlocl
opencl
Last synced: about 1 year ago
JSON representation
High-level bindings for OpenCL
- Host: GitHub
- URL: https://github.com/aandreba/hlocl
- Owner: Aandreba
- Created: 2022-06-08T19:27:33.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T13:49:24.000Z (almost 4 years ago)
- Last Synced: 2025-02-05T08:51:28.274Z (over 1 year ago)
- Topics: opencl
- Language: Rust
- Homepage:
- Size: 242 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# High-Level OpenCL
> **WARNING**\
> hlocl is still in an alpha stage. Functions and others are still open to be renamed or deleted without a deprecation period, so it is not recommended for use in production (yet).
hlocl is a high-level OpenCL API for Rust
# Example
```rust
```
# Features
| Name | Description | Default |
| ----- | --------------------------------------------------------------------------------------- | ------- |
| def | Enables default contexts and command queues | Yes |
| cl2 | Enables OpenCL 2.0 features | No |
| async | Implements ```Future``` for OpenCL events and various other utils | No |
| serde | Enables [```serde```](https://crates.io/crates/serde) support for OpenCL buffers | No |
| rand | Enables OpenCL accelerated random number generation | No |
| error-stack | Enables rich errors via [```error-stack```](https://crates.io/crates/error-stack) | No |