I have also been wondering this. I tried @threads yesterday and it got me around a 4-fold speedup on a loop which applied a function to each element in an array, and I conveniently didn't need to bother using SharedArrays as I would with @parallel.
On Tuesday, August 30, 2016 at 7:20:36 PM UTC-4, digxx wrote: > > Sorry if there is already some information on this though I didnt find > it... > So: What is the difference between these? > I have used @parallel so far for parallel loops but recently saw this > @threads all in some video and I was wondering what the difference is? > Could anyone elaborate or give me a link with some info? > Thanks digxx >
