custos 0.7.0

A minimal OpenCL, WGPU, CUDA and host CPU array manipulation engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/*use custos::{Buffer, CPU};

#[test]
fn test_wrap_slice() {
    let _device = CPU::new();

    let mut slice = [1, 2, 3, 4, 5, 6];

    let mut buf = Buffer::from(&mut slice);
    buf.clear();
    assert_eq!(slice, [0; 6]);
}*/