[Numpy-discussion] Objected-oriented SIMD API for Numpy

Ryan May rmay31 at gmail.com
Wed Oct 21 14:31:13 EDT 2009


On Wed, Oct 21, 2009 at 1:23 PM, Ryan May <rmay31 at gmail.com> wrote:
> On Wed, Oct 21, 2009 at 11:38 AM, Gregor Thalhammer
> <gregor.thalhammer at gmail.com> wrote:
>> I once wrote a module that replaces the built in transcendental
>> functions of numpy by optimized versions from Intels vector math
>> library. If someone is interested, I can publish it. In my experience it
>> was of little use since real world problems are limited by memory
>> bandwidth. Therefore extending numexpr with optimized transcendental
>> functions was the better solution. Afterwards I discovered that I could
>> have saved the effort of the first approach since gcc is able to use
>> optimized functions from Intels vector math library or AMD's math core
>> library, see the doc's of -mveclibabi. You just need to recompile numpy
>> with proper compiler arguments.
>
> Do you have a link to the documentation for -mveclibabi?  I can't find
> this anywhere and I'm *very* interested.

Ah, there it is.  Google doesn't come up with much, but the PDF manual
does have it:
http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc.pdf

(It helps when you don't mis-type your search in the PDF).

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
Sent from Norman, Oklahoma, United States



More information about the NumPy-Discussion mailing list