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

Method _is_sparcv9

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

Source from the content-addressed store, hash-verified

423 def _is_sparc(self):
424 return self.info['isainfo_n']=='sparc'
425 def _is_sparcv9(self):
426 return self.info['isainfo_n']=='sparcv9'
427
428 def _getNCPUs(self):
429 return int(self.info['uname_X'].get('NumCPU', 1))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected