MCPcopy Create free account
hub / github.com/pydata/numexpr / _check_arch

Function _check_arch

numexpr3/cpuinfo.py:1887–1890  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1885
1886# Make sure we are running on a supported system
1887def _check_arch():
1888 arch, bits = parse_arch(DataSource.raw_arch_string)
1889 if not arch in ['X86_32', 'X86_64', 'ARM_7', 'ARM_8', 'PPC_64']:
1890 raise Exception("py-cpuinfo currently only works on X86 and some PPC and ARM CPUs.")
1891
1892# def main():
1893# try:

Callers

nothing calls this directly

Calls 1

parse_archFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…