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

Method _get_info_blas

numpy/distutils/system_info.py:1930–1940  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1928 return False
1929
1930 def _get_info_blas(self):
1931 # Default to get the optimized BLAS implementation
1932 info = get_info('blas_opt')
1933 if not info:
1934 warnings.warn(BlasNotFoundError.__doc__ or '', stacklevel=3)
1935 info_src = get_info('blas_src')
1936 if not info_src:
1937 warnings.warn(BlasSrcNotFoundError.__doc__ or '', stacklevel=3)
1938 return {}
1939 dict_append(info, libraries=[('fblas_src', info_src)])
1940 return info
1941
1942 def _get_info_lapack(self):
1943 info = get_info('lapack')

Callers 1

_calc_info_lapackMethod · 0.95

Calls 3

warnMethod · 0.80
get_infoFunction · 0.70
dict_appendFunction · 0.70

Tested by

no test coverage detected