Hi all,

What is the recommended way to implement the equivalent of OpenMP sections 
in Julia?

Use case: I have code that calculates left and right vectors of a matrix. 
They are computed completely independently until some point later in the 
code where I take their mutual dot products:

rl = A'*vl-b
#do more stuff to rl and vl
rr = A*vr-b
#do more stuff to rr and vr
w = dot(vl,vr)

 In OpenMP, I would be able to wrap the code that computes the left and 
right vectors in separate omp sections (up to and excluding the line that 
computes w). What would be the equivalent construct in Julia? 

Reply via email to