[Numpy-discussion] numpy.distutils.cpuinfo bugs?

Pearu Peterson pearu at cens.ioc.ee
Tue Oct 2 03:03:03 EDT 2007



Alan G Isaac wrote:
> Two problems noted::
> 
>     >>> from numpy.distutils import cpuinfo
>     0
>     >>> cpu = cpuinfo.cpuinfo()
>     >>> print "Has SSE2? %s"%cpu._has_sse2()
>     Has SSE2? False
>     >>>
> 
> 1. The printed '0' traces to an undesirable print statement.
> (I've reported this before.)

Travis seemed to fix this about two weeks ago.

> 2. The 'False" report is on a Pentium M.  Should that not be 
> True? <URL:http://en.wikipedia.org/wiki/Pentium_M>
> Or am I misusing the test?

What OS are you using? If Linux, then can you send the content
of /proc/cpuinfo?

Pearu



More information about the NumPy-Discussion mailing list