MCPcopy Create free account
hub / github.com/numpy/numpy / _has_sse

Method _has_sse

numpy/distutils/cpuinfo.py:623–633  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

621 return False
622
623 def _has_sse(self):
624 if self.is_Intel():
625 return ((self.info[0]['Family']==6 and
626 self.info[0]['Model'] in [7, 8, 9, 10, 11])
627 or self.info[0]['Family']==15)
628 elif self.is_AMD():
629 return ((self.info[0]['Family']==6 and
630 self.info[0]['Model'] in [6, 7, 8, 10])
631 or self.info[0]['Family']==15)
632 else:
633 return False
634
635 def _has_sse2(self):
636 if self.is_Intel():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected