| Crates.io | scir-gpu |
| lib.rs | scir-gpu |
| version | 0.3.2 |
| created_at | 2025-09-10 21:10:13.55221+00 |
| updated_at | 2025-09-11 11:29:12.510651+00 |
| description | SciR GPU foundations: device arrays and CUDA (feature-gated) elementwise/FIR kernels with CPU parity. |
| homepage | https://github.com/SoftOboros/scir |
| repository | https://github.com/SoftOboros/scir |
| max_upload_size | |
| id | 1833011 |
| size | 44,634 |
scir-gpu
Overview
DeviceArray<T> abstraction, CPU baselines, and optional CUDA paths behind the cuda feature.Features
Requirements (CUDA)
libcuda.so is visible to the container or process; on Windows, nvcuda.dll is required.Quick start
cargo test -p scir-gpucargo test -p scir-gpu --features cudaAPIs
DeviceArray<T>: shaped arrays with device and dtype. CPU-backed storage today.add_scalar_auto, mul_scalar_auto, add_auto (f32) dispatch to CUDA when available.fir1d_batched_f32_auto(x, taps, device) chooses CUDA or CPU and falls back to CPU if CUDA is unavailable.