Example of parallel computing

I read the this, but unfortunately could not understand how can I do parallel computing at MOJO, can any help help with simple code sample. Thanks https://docs.modular.com/mojo/stdlib/algorithm/functional/parallelize
parallelize | Modular Docs
parallelizefunc: fn(Int) capturing -> None
4 Replies
Hasan Yousef
Hasan YousefOP3mo ago
Did not get your point
Jabadahut50
Jabadahut503mo ago
miss post my apologies.. not sure how that happened
sora
sora3mo ago
Matrix multiplication in Mojo | Modular Docs
Learn how to leverage Mojo's various functions to write a high-performance matmul.
sb
sb3mo ago
What kind of computation are you trying to do? One of the big "motivations" behind mojo is making all sorts of VLIW/SIMD very easy to capitalize on, and to make it for that code to be used on things like GPUs. It's a different paradigm from thread based parallelism, though it can do that too How you can actually lower your problem into code that solves it depends a lot on the problem itself and whether it's amenable to the sort of "batch based processing" mojo is particularly good at representing
Want results from more Discord servers?
Add your server