SVML library is supported only on x86_64 architecture and currently only on linux
()
| 69 | return out |
| 70 | |
| 71 | def 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 | |
| 82 | def can_link_svml_fp16(): |
| 83 | """SVML FP16 requires binutils >= 2.38 for an updated assembler |
no outgoing calls
no test coverage detected