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

Function can_link_svml

numpy/core/setup.py:71–80  ·  view source on GitHub ↗

SVML library is supported only on x86_64 architecture and currently only on linux

()

Source from the content-addressed store, hash-verified

69 return out
70
71def can_link_svml():
72 """SVML library is supported only on x86_64 architecture and currently
73 only on linux
74 """
75 if NPY_DISABLE_SVML:
76 return False
77 platform = sysconfig.get_platform()
78 return ("x86_64" in platform
79 and "linux" in platform
80 and sys.maxsize > 2**31)
81
82def can_link_svml_fp16():
83 """SVML FP16 requires binutils >= 2.38 for an updated assembler

Callers 3

can_link_svml_fp16Function · 0.85
generate_config_hFunction · 0.85
configurationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected