Ubuntu16.04 构建opencl+caffe

本文介绍了如何在Ubuntu 16.04上配置OpenCL并安装Intel的OpenCL SDK和驱动,以用于Caffe框架。首先,从官方网址下载并安装SDK和驱动。接着,通过运行CapsBasic示例来验证安装是否成功。
摘要由CSDN通过智能技术生成

1. basic settings

sudo apt update && sudo apt upgrade to update your system.
sudo apt install python-pip
sudo apt install vim
sudo apt install git
sudo apt install cmake

2. Install Intel OpenCL SDK and driver. 
Goto https://software.intel.com/en-us/articles/opencl-drivers, download the SDK and driver package. The SDK should have a name like SRB5.0_linux64.zip, and the driver should look like intel_sdk_for_opencl_2017_7.0.0.2511_x64.tgz.
Extract the driver package.

mkdir intel-opencl
tar -C intel-opencl -Jxf intel-opencl-r5.0-BUILD_ID.x86_64.tar.xz
tar -C intel-opencl -Jxf intel-opencl-devel-r5.0-BUILD_ID.x86_64.tar.xz
tar -C intel-opencl -Jxf intel-opencl-cpu-r5.0-BUILD_ID.x86_64.tar.xz
sudo cp -R intel-opencl/* /
sudo ldconfig

3. Use Intel'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值