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

David M. Cooke cookedm@physics.mcmaster...
Tue Oct 2 14:20:54 CDT 2007


On Mon, Oct 01, 2007 at 09:40:26PM -0400, 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.)
> 
> 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?

Should be fixed now. There wasn't a test for the Pentium M, so it was
being caught by the Pentium III test (of which the M is based on).

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm@physics.mcmaster.ca


More information about the Numpy-discussion mailing list