如何检查我安装的numpy是否使用SSE/SSE2指令集编译? [英] How can I check if my installed numpy is compiled with SSE/SSE2 instruction set?

查看:164
本文介绍了如何检查我安装的numpy是否使用SSE/SSE2指令集编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检查我安装的numpy版本是否使用SSE/SSE2指令集编译? 我知道numpy的某些部分正在使用BLAS,也如何检查BLAS?

How can I check if my installed version of numpy is compiled with SSE/SSE2 instruction set? I know that some parts of numpy is using BLAS, how to check BLAS too?

推荐答案

看看:

import numpy.distutils.system_info as sysinfo
sysinfo.show_all()

这将打印出有关针对numpy进行编译的所有信息.

This will print out all of the information about what numpy was compiled against.

这篇关于如何检查我安装的numpy是否使用SSE/SSE2指令集编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆