arrOgpu

Crates.ioarrOgpu
lib.rsarrOgpu
version0.2.0
created_at2025-12-13 13:41:47.372252+00
updated_at2026-01-23 13:16:02.338587+00
descriptionGPU Computing Library
homepage
repository
max_upload_size
id1982931
size423,548
arax (araxnoid-code)

documentation

README

arrOgpu

Array Operations On Gpu

⚙️ under development ⚙️

Version / 0.2.0

Base On WGPU

This library uses WGPU to perform array operations

What's New

Version / 0.2.0: version.md

Version Changelog

version changelog: changelog.md

Starting

install

coming soon

Code

use arr_o_gpu::ArrOgpuModule;

fn main() {
    let module = ArrOgpuModule::default();

    let array = module
        .array_from_vector(&[1., 2., 3., 4., 5., 6.], &[2, 3])
        .unwrap();

    let result = array.add(&1.).unwrap();

    println!("{}", result);
    // [
    //  [2.0, 3.0, 4.0]
    //  [5.0, 6.0, 7.0]
    // ]
}

List Method

  • add
  • sub
  • mul
  • div
  • matmul
  • sum
  • sum_axis
  • Sum_axis_keep_dim
  • dot_product
  • abs
  • log2
  • pow
  • sin
  • cos
  • tan
  • sqrt
  • broadcasting
  • slice
  • index
  • to_shape
  • permute
  • contiguous(View)
Commit count: 0

cargo fmt