Hello everyone, im kinda new to julia (self learning since a few weeks).
I am wondering how to use multithreading properly for functions within a for loop like:
A = … (some 3d array)
B = …(some 3d array)
for i in 1:100
update_A!(A,…)
update_B!(B,…)
end
in each of the update functions a 3x nested loop is performed. However, the execution order of update_A and update_B doesnt matter.
I hope to improve the performance by multithread function A and B somehow.
P.S. Multi processing is no real option, since the inputs are shared and large.
So, allocating these to another process takes too much time and memory.