Re: [Numpy-discussion] Simple shared arrays

2010-12-31 Thread Erik Rigtorp
On Fri, Dec 31, 2010 at 02:13, Paul Ivanov wrote: > Erik Rigtorp, on 2010-12-30 21:30,  wrote: >> Hi, >> >> I was trying to parallelize some algorithms and needed a writable >> array shared between processes. It turned out to be quite simple and >> gave a nice speed up almost linear in number of c

Re: [Numpy-discussion] Simple shared arrays

2010-12-30 Thread Paul Ivanov
Erik Rigtorp, on 2010-12-30 21:30, wrote: > Hi, > > I was trying to parallelize some algorithms and needed a writable > array shared between processes. It turned out to be quite simple and > gave a nice speed up almost linear in number of cores. Of course you > need to know what you are doing to

[Numpy-discussion] Simple shared arrays

2010-12-30 Thread Erik Rigtorp
Hi, I was trying to parallelize some algorithms and needed a writable array shared between processes. It turned out to be quite simple and gave a nice speed up almost linear in number of cores. Of course you need to know what you are doing to avoid segfaults and such. But I still think something l