| Crates.io | obrah |
| lib.rs | obrah |
| version | 3.4.0 |
| created_at | 2025-09-28 12:29:41.53776+00 |
| updated_at | 2025-11-29 14:47:18.816176+00 |
| description | High-level Rust wrapper around OpenCL using OBWIO |
| homepage | |
| repository | https://github.com/muhammadmahdi70412-ship-it/OBRAH |
| max_upload_size | |
| id | 1858288 |
| size | 16,843,118 |
OBRAH (OpenCL But Rusty And High-level) is a Rust crate built on top of OBWIO(crates.io: OBWIO), providing a high-level, ergonomic interface for OpenCL. It abstracts low-level C bindings, letting you perform GPU computations with minimal boilerplate.
OBRAH provides an easy-to-use API for:
.cl filesIt is ideal for Rust developers who want GPU acceleration without dealing with raw OpenCL FFI.
buffer.to(), buffer.from(), etc.)use_kernel(), make_kernel(), etc.)Add OBRAH to your Cargo.toml:
\[dependencies]
obrah = "3.0.0"
Licensed under the Apache License, Version 2.0
Contributions are welcome! Open issues, submit pull requests, or improve the documentation.
OBRAH is built on OBWIO, which uses bindgen to generate FFI bindings. Thanks to the Rust and OpenCL communities for their documentation and support.