Gonzalo Brito - A parallel Lattice-Boltzmann CFD solver using rayon

  Рет қаралды 1,761

Scientific Computing in Rust

Scientific Computing in Rust

11 ай бұрын

Recording of a talk given at the Scientific Computing in Rust 2023 online workshop.
This talk demonstrates a parallel Lattice-Boltzmann solver for computational fluid dynamics written in Rust using the Rust rayon library. Rayon is a data-parallelism library for Rust that guarantees data-race freedom and makes it easy to convert a sequential computation into a parallel one by using parallel iterators. The talk demonstrates how to use rayon to parallelize scientific PDE solvers, using the Lattice-Boltzmann method as an example.

Пікірлер: 2
@FroL_Onn
@FroL_Onn 4 ай бұрын
Thanks for the talk and for the video!
@damickillah
@damickillah 11 ай бұрын
I couldn't get the rust code example to compile. I ended up with this, in order to get it to run: use rayon::prelude::*; fn main() { let x: Vec = vec![1, 2, 3, 4, 56, 89]; let y: Vec = vec![5, 6, 7, 8, 65, 98]; let a = 2; let sum: Vec = x .par_iter() .zip(y.par_iter()) .map(|(&x, &y)| y + a * x) .collect(); println!("{:?}", sum); }
Sarah El Kazdadi - faer-rs: a linear algebra foundation for the Rust programming language
31:11
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 3,9 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 9 МЛН
Zoono (ASX:ZNO) Investor Webinar with Managing Director Paul Hyslop
28:46
TCN: The Capital Network
Рет қаралды 8
Miguel Raz Guzmán Macedo - Portable SIMD tricks for fun and profit
9:53
Scientific Computing in Rust
Рет қаралды 2,1 М.
Paul Goulart - Conic optimization using the Clarabel solver
7:41
Scientific Computing in Rust
Рет қаралды 519
Day in My Life as a Quantum Computing Engineer!
0:46
Anastasia Marchenkova
Рет қаралды 477 М.
High Performance Data Engineering in Rust - Efficient Deduplication Example
8:59
Why Rust is bad, actually*
11:53
UWCS - University of Warwick Computing Society
Рет қаралды 42 М.
Jed Brown - Scalable computational mechanics with Rust
10:34
Scientific Computing in Rust
Рет қаралды 578
Christopher Jordan - Using Rust in radio astronomy
9:01
Scientific Computing in Rust
Рет қаралды 201
What is Apache Kafka?
9:35
The ASF
Рет қаралды 96 М.
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 5 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2 МЛН