Maybe. Having no experience whatsoever in vectorization, I'm looking into multithreading. Anyway, I believe one doesn't exclude the other.
On Wed, Jan 22, 2014 at 12:23 PM, Vesa Solonen <vesa.solo...@aalto.fi>wrote: > 21/01/14 18:51, Carl Poirier kirjoitti: > > There are some things in the code that don't like being multithreaded. > If I > > parallelize the for loop in RN_DATA::Recalculate( int aNet ), I get a > > segfault. > > It probably makes more sense to vectorize the loop than making it > multi-threaded. Then you don't need tricky thread handling, but just > have to make the loop handle data in, say four int32 chunks. Naturally > that needs some more trickery to handle the remainder if division by > four doesn't go even. > > -Vesa > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp