numpy.show_runtime#
- numpy.show_runtime()[source]#
Print information about various resources in the system including available intrinsic support and BLAS/LAPACK library in use
See also
show_config
Show libraries in the system on which NumPy was built.
Notes
Information is derived with the help of threadpoolctl library.
SIMD related information is derived from
__cpu_features__
,__cpu_baseline__
and__cpu_dispatch__
Examples
>>> import numpy as np >>> np.show_runtime() [{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'], 'found': ['SSSE3', 'SSE41', 'POPCNT', 'SSE42', 'AVX', 'F16C', 'FMA3', 'AVX2'], 'not_found': ['AVX512F', 'AVX512CD', 'AVX512_KNL', 'AVX512_KNM', 'AVX512_SKX', 'AVX512_CLX', 'AVX512_CNL', 'AVX512_ICL']}}, {'architecture': 'Zen', 'filepath': '/usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so', 'internal_api': 'openblas', 'num_threads': 12, 'prefix': 'libopenblas', 'threading_layer': 'pthreads', 'user_api': 'blas', 'version': '0.3.20'}]