SVML FP16 requires binutils >= 2.38 for an updated assembler
()
| 80 | and sys.maxsize > 2**31) |
| 81 | |
| 82 | def can_link_svml_fp16(): |
| 83 | """SVML FP16 requires binutils >= 2.38 for an updated assembler |
| 84 | """ |
| 85 | if can_link_svml(): |
| 86 | import re |
| 87 | binutils_ver = os.popen("ld -v").readlines()[0].strip() |
| 88 | binutils_ver = re.search(r"\d\.\d\d", binutils_ver) |
| 89 | if binutils_ver is not None: |
| 90 | return float(binutils_ver.group()) >= 2.38 |
| 91 | else: |
| 92 | return False |
| 93 | |
| 94 | def check_git_submodules(): |
| 95 | out = os.popen("git submodule status") |
no test coverage detected