silverviolin.
MModular
•Created by 뽀삐2 on 9/30/2023 in #questions
how to use async in mojo?
@Alex Kirchhoff May I ask about our usage plan for async based on coroutines, which version of mojo is expected to achieve the effect of immediate execution?
5 replies
MModular
•Created by littlewolf on 9/11/2023 in #questions
Questions about Mojo AI
@ModularBot I fix it , to add @parameter for test_function which want to parallelize
20 replies
MModular
•Created by littlewolf on 9/11/2023 in #questions
Questions about Mojo AI
@ModularBot when i write the demo for parallelize which error info is " cannot pass 'fn(i = Int) -> Int' value, parameter expected 'fn(Int, /) capturing -> None'" , how to fix it , the code is "fn test_function(i:Int)->Int:
print("the input", i)
return i*i
fn main():
print("Hello, world!")
for i in range(1,1000,1):
parallelizetest_function"
20 replies
MModular
•Created by littlewolf on 9/11/2023 in #questions
Questions about Mojo AI
in mojo ,how to use the async_parallelize method? is there any relevant case or demo use ?
20 replies