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

Method _is_AMD

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

Source from the content-addressed store, hash-verified

128 # Athlon
129
130 def _is_AMD(self):
131 return self.info[0]['vendor_id']=='AuthenticAMD'
132
133 def _is_AthlonK6_2(self):
134 return self._is_AMD() and self.info[0]['model'] == '2'

Callers 2

_is_AthlonK6_2Method · 0.95
_is_AthlonK6_3Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected