Install OpenCL on Backtrack 及BT5安装ATI驱动
来源:互联网 发布:德国人长相知乎 编辑:程序博客网 时间:2024/05/12 15:07
Install OpenCL on Backtrack
This article was contributed by g0tmi1k.
- Twitter: https://twitter.com/#!/g0tmi1k
- In this guide we will be installing and configuring OpenCL on Backtrack.
NOTE: You might need to make some minor tweaks depending on your system.
Let's begin:
- First of all before we start we want to make sure that our system is up to date.
root@bt:~# apt-get update && apt-get upgrade
- Before we go on with installing the ATI drivers we need to get our kernel source prepared.
root@bt:~# prepare-kernel-sourcesroot@bt:~# cd /usr/src/linuxroot@bt:~# cp -rf include/generated/* include/linux/
- Now that we are set up it's time to download the ATI drivers.
root@bt:~# wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-9-x86.x86_64.runroot@bt:~# chmod +x ati-driver-installer-11-9-x86.x86_64.runroot@bt:~# ./ati-driver-installer-11-9-x86.x86_64.runroot@bt:~# reboot
- Before we are finished there is one more thing that we need to install, The AMD Accelerated Parallel Processing (APP) SDK, this one needs to be installed according to your CPU architecture.
For 32 bit architecture:
root@bt:~# wget http://developer.amd.com/Downloads/AMD-APP-SDK-v2.5-lnx32.tgz root@bt:~# tar -xvzf AMD-APP-SDK-v2.5-lnx32.tgzroot@bt:~# ./Install-AMD-APP.sh
For 64 bit architecture:
root@bt:~# wget http://developer.amd.com/Downloads/AMD-APP-SDK-v2.5-lnx64.tgz root@bt:~# tar -xvzf AMD-APP-SDK-v2.5-lnx64.tgzroot@bt:~# ./Install-AMD-APP.sh
- We will also need cmake and cmake++ along with some other library files.
First we install the libraries and cmake:
root@bt:~# apt-get install libroot-python-dev libboost-python-dev zlib1g-dev libssl-dev cmake libboost1.40-all-dev
Before we can install cmake++ we need to set the ATI Stream paths:
root@bt:~# echo "ATISTREAMSDKROOT=/opt/AMDAPProot@bt:~# export ATISTREAMSDKROOT" >> ~/.bashrcroot@bt:~# source ~/.bashrc
Now we can proceed with the installation:
root@bt:~# svn co https://calpp.svn.sourceforge.net/svnroot/calpp calpproot@bt:~# cd calpp/trunkroot@bt:~# cmake .
root@bt:~# makeroot@bt:~# make install
- In addition now we can install Pyrit with the OpenCL option.
root@bt:~# svn checkout http://pyrit.googlecode.com/svn/trunk/ /tmp/pyritroot@bt:~# cd /tmp/pyrit/pyrit && python setup.py build && python setup.py installroot@bt:~# cd /tmp/pyrit/cpyrit_opencl && python setup.py build && python setup.py install
- Now we can test Pyrit.
root@bt:~# pyrit list_coresroot@bt:~# pyrit benchmark
转载自:http://www.backtrack-linux.org/wiki/index.php/Install_OpenCL
- Install OpenCL on Backtrack 及BT5安装ATI驱动
- Ubuntu 6.06 ati驱动及xgl安装
- ATI非官方驱动安装
- 安装ATI最新驱动
- ATI 5650驱动安装
- ubuntu 安装ATI驱动
- BackTrack(bt5) GNOME汉化
- Fedora core 4.0安装Nvida显卡及Ati显卡驱动
- ATI驱动的安装配置
- 安装ATI Linux显卡驱动
- fedora15 ati 显卡驱动安装
- ATI显卡驱动安装log
- OpenSuse11安装ATi显卡驱动
- Windows 7安装ATI驱动
- ubuntu13.04安装ati驱动
- opensuse 安装ati显卡驱动
- 安装ati开源驱动
- Backtrack 5 BT5 Linux 视频教程
- DirectX游戏编程入门——第一部分(Windows和DirectX游戏编程引言) —— 游戏循环
- sql基础操作
- typedef
- android 项目 高版本 换成 低版本
- ios中调用google地图
- Install OpenCL on Backtrack 及BT5安装ATI驱动
- CMake简单使用
- PS入门
- 初学 Delphi 嵌入汇编[30] - 寄存器表
- 游戏王千金囊开发实录十九 ——数据升级
- “Boot to Gecko”改名“Firefox OS”,中兴及TCL将生产对应的手机
- LoadRunner常见问题整理--自己遇到的问题记录
- Oracle expdp/impdp导出导入命令及数据库备份(转)
- C#四舍五入的几种方法