[Numpy-discussion] testing with amd libm/acml
Wed Nov 7 08:06:41 CST 2012
On Wed, Nov 7, 2012 at 1:56 PM, Neal Becker <email@example.com> wrote:
> David Cournapeau wrote:
>> On Wed, Nov 7, 2012 at 12:35 PM, Neal Becker <firstname.lastname@example.org> wrote:
>>> I'm trying to do a bit of benchmarking to see if amd libm/acml will help me.
>>> I got an idea that instead of building all of numpy/scipy and all of my
>>> custom modules against these libraries, I could simply use:
>>> <my program here>
>>> I'm hoping that both numpy and my own dll's then will take advantage of these
>>> Do you think this will work?
>> Quite unlikely depending on your configuration, because those
>> libraries are rarely if ever ABI compatible (that's why it is such a
>> pain to support).
> When you say quite unlikely (to work), you mean
> a) unlikely that libm/acml will be used to resolve symbols in numpy/dlls at
> runtime (e.g., exp)?
> b) program may produce wrong results and/or crash ?
Both, actually. That's not something I would use myself. Did you try
openblas ? It is open source, simple to build, and is pretty fast,
More information about the NumPy-Discussion