oxgpu 0.1.0

A lightweight GPU compute library built on wgpu
Documentation
//! # Krnl
//!
//! `krnl` is a high-level, safe wrapper around `wgpu` for easy GPU compute operations in Rust.
//! It abstracts away the complexity of managing devices, queues, and bind groups,
//! providing a fluent API for writing and executing compute kernels.
//!
//! ## Example
//! ```rust,no_run
//! use krnl::{Context, Buffer, ComputeKernel};
//! 
//! #[tokio::main]
//! async fn main() {
//!     let ctx = Context::new().await.unwrap();
//!     let data = vec![1.0f32, 2.0, 3.0];
//!     let buf = Buffer::from_slice(&ctx, &data).await;
//!     // ... build and run kernel ...
//! }
//! ```

pub mod buffer;
pub mod compute_kernel;
pub mod context;

pub use buffer::Buffer;
pub use buffer::BufferUsage;
pub use compute_kernel::ComputeKernel;
pub use compute_kernel::{BindingType, ComputeKernelBuilder, KernelBinding}; // Exposed to user
pub use context::Context;