Windows下编译mxnet
操作系统:
64位Windows10
mxnet的构建和安装包括两个步骤:
第一步,编译出共享库 libmxnet.dll。
第二步,安装语言包,比如python等。
最小编译要求:
- 最新的支持C++ 11 的c++编译器,比如
g++ >= 4.8orclang - 一份BLAS库,例如:
libblas,atlas,openblasorintel mkl
可选库:
CUDA Toolkit >= v7.0:利用GPUs计算- 要求GPU能够支持
Compute Capability >= 2.0
- 要求GPU能够支持
- CUDNN:加速 GPU 计算
- opencv:图形放大
Windows上编译:
如果使用 Visual Studio 2013来编译,则必须使 Visual Studio 2013 支持更多的C++11特性。
则必须如下步骤:
- 下载并安装 Visual C++ Compiler Nov 2013 CTP.
- 拷贝目录
C:\Program Files (x86)\Microsoft Visual C++ Compiler Nov 2013 CTP(或者解压缩目录)下的所有文件到C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC目录下覆盖已有文件。不要忘记再拷贝前先备份。
openblas:下载地址
CUDA:下载地址
CuDNN:下载地址
opencv:下载地址
- 注意: 需要注册NVIDIA社区用户来下载CUDA和CuDNN
CMake:下载地址
由于编译的时候要使用到CMake,所以还必须下载安装CMake
mxnet:下载地址
或者 使用 git 拉取源代码
git clone --recursive https://github.com/dmlc/mxnet
运行Windows的命令提示符:
进入到mxnet目录下,运行如下命令
cmake .
Nsight™ Visual Studio Edition 5.1 : 下载地址
https://developer.nvidia.com/gameworksdownload#?dn=nsight-visual-studio-edition-5-1-0-rc1
Windows下编译mxnet的更多相关文章
- [转] Windows下编译OpenSSL
简述 OpenSSL是一个开源的第三方库,它实现了SSL(Secure SocketLayer)和TLS(Transport Layer Security)协议,被广泛企业应用所采用.对于一般的开发人 ...
- Windows下编译objective-C
Windows下编译objective-C 2011-08-31 14:32 630人阅读 评论(0) 收藏 举报 windowscocoa工具objective clibraryxcode 目录 ...
- 在Windows下编译FFmpeg详细说明
MinGW:一个可自由使用和自由发布的Windows特定头文件和使用GNC工具集导入库的集合,允许你生成本地的Windows程序而不需要第三方C运行时 MinGW,即 Minimalist GNU F ...
- 如何在WINDOWS下编译BOOST C++库 .
如何在WINDOWS下编译BOOST C++库 cheungmine 2008-6-25 写出来,怕自己以后忘记了,也为初学者参考.使用VC8.0和boost1.35.0. 1)下载boost ...
- 在Windows下编译OpenSSL(VS2005和VC6)
需要说明的是请一定安装openssl-0.9.8a . openssl-1.0.0我没有编译成功. 如何在Windows下编译OpenSSL (Vs2005使用Vc8的cl编译器)1.安装Activ ...
- windows下编译java源文件的编码错误
import java.util.Arrays;public class ArrayAsAReference{ public static void main(String[] args) { int ...
- Windows下编译SDL
Windows下编译SDL的理由我就不多说了,无论用VS来编译或调试SDL库都是很方便的.而且SDL源代码中也包含了VC工程,你所要做的只是解压VC工程,进行适当的配置,然后编译.调试. 编译SDL大 ...
- Windows下编译安装 FFmpeg
在Linux/Mac下编译 ffmpeg是非常方便的.但要在 Windows下编译 ffmpeg还真要花点时间.以下就是在 Windowns下编译ffmpeg的步骤: 一.安装Cygwin 在wind ...
- windows下编译php7图形库php_ui.dll
CSDN博客 具有图形化编程才有意思,这几天看到了php ui 图形扩展,只是现在只能下载php 7.1的 本次教程编译php7.2.6的 php ui 要是linux下编译起来比较简单 但是 win ...
随机推荐
- 使用Chrome DevTools的Timeline和Profiles提高Web应用程序的性能
来源: http://www.oschina.net/translate/performance-optimisation-with-timeline-profiles 我们都希望创建高性能的Web应 ...
- 打开另外一个App
/** * 打开一个app * * @param packageName * @param data * @return */ public static boolean lanuchApp(Cont ...
- 省市便利 UIPicherView
@property (strong,nonatomic) UIPickerView *pickerV; @property (strong,nonatomic) NSArray *arr; @prop ...
- 直接用postman测试api ,服务器端没提供跨域也可以访问。
1. 直接用postman测试api ,服务器端没提供跨域也可以访问. 但是,如果用本地的 sever 搭的server, 然后去访问api的话,浏览器会提示 跨域错误.
- asm: Writing Inline Assembly
A usual IA includes these parts: asm [volatile] ( AssemblerTemplate : OutputOperands [ : InputOperan ...
- Java NIO Related
A file's status is 3-valued: The file is verified to exist; The file is verified to not exist; The f ...
- HDU/5499/模拟
题目链接 模拟题,直接看代码. £:分数的计算方法,要用double; #include <set> #include <map> #include <cmath> ...
- 通过intent启动Activity
android应用程序内部通过Intent来实现Activity间的跳转.也知道通过Intent调用系统程序.但若想在应用程序A内开启应用程序B(前提是A.B均已安装),该如何去实现? 记录下实现过程 ...
- webservice接口调用存储过程返回失败
poka.cashman.timer.service.impl.PdaOperateServiceImpl - Method Name: cashBoxOutOrIn; cbInfo:JN002015 ...
- elasticsearch高级配置之(二)----线程池设置
elasticsearch 配置 线程池 一个Elasticsearch节点会有多个线程池,但重要的是下面四个: 索引(index):主要是索引数据和删除数据操作(默认是cached类型) 搜索 ...