custos 0.7.0

A minimal OpenCL, WGPU, CUDA and host CPU array manipulation engine.
Documentation
use custos::{Buffer, CPU};

#[cfg(feature = "cpu")]
#[test]
fn test_with_threads() {
    let device = CPU::new();

    //let buf = Buffer::from((&device, [1, 2, 3, 4]));
    let buf = Buffer::<f32>::deviceless(&device, 10);

    let vec: Vec<f64> = vec![1., 2., 3.];

    let a = std::thread::spawn(move || {
        let device = CPU::new();

        let _b = &buf;
        let _a = &vec;

        let _buf = Buffer::from((&device, [1, 2, 3, 4]));
    });
    a.join().unwrap();
}