[SciPy-Dev] scipy.sparse and OpenMP

Maximilian Nickel nickel@dbs.ifi.lmu...
Mon Mar 5 04:15:12 CST 2012

Hi everyone,
I've been working with fairly large sparse matrices on a
multiprocessor system lately and noticed that scipy.sparse is
single-threaded. Since I needed faster computations, I've quickly
added some OpenMP #pragma directives in scipy/sparse/sparsetools to
the functions that I've been using in order to enable multithreading,
what worked out nicely. I wondered if you would be interested in a
more complete OpenMP-enabled version of scipy.sparse.setuptools. I've
attached the patch of the quick-and-dirty changes that I made so far
to this mail, to give you an idea.

Best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparse-openmp.patch
Type: text/x-patch
Size: 2969 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-dev/attachments/20120305/38db9f1d/attachment.bin 

More information about the SciPy-Dev mailing list