lamellar 0.8.1

Lamellar is an asynchronous tasking runtime for HPC systems developed in RUST.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use lamellar::array::prelude::*;
const ARRAY_LEN: usize = 100;
fn main() {
    let world = lamellar::LamellarWorldBuilder::new().build();
    let mut block_array = LocalOnlyArray::<usize>::new(world.team(), ARRAY_LEN, Distribution::Block).block();

    let block_slice = block_array.as_slice();
    let _mut_block_slice = block_array.as_mut_slice();
    let _task = async {
        println!("vec {:?}",block_slice);
    };

}