[Numpy-discussion] OpenMP-ficated loops

Vladimir Voznesensky vvoznesensky at gmail.com
Wed Jan 19 06:02:28 EST 2011


I've hacked numpy/core/src/umath/loops.c.src to use OMP acceleration. 
I's a little bit hairy, some things are very suboptimal, but it helps 
me, so I've decided to share my work as is.

Note, that
with errstate(...)
does not work with my stuff.

Use -O2 or less for Intel compiler.
Always run test suite after re-compilation.

Please, found the hacked file in the attachement.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: loops.c.src
Type: application/x-wais-source
Size: 44812 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110119/1718cdff/attachment.src>

More information about the NumPy-Discussion mailing list