安装GPGPU.doc

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
安装GPGPU

本文档介绍如何在Unbuntu9.04安装cudatoolkit2.3+cudasdk2.3+gpgpu-sim2.1.1b并编译运行ispass2009的benchmarks xmlnamespace prefix =o ns =urn:schemas-microsoft-com:office:office / 注:本文档主要依据gpgpu-sim自带的GPGPU-SIM Manual Version 1.0 Compiling GPGPU-Sim * Step 1: Ensure you have gcc, make, zlib, bison and flex installed on your system. For CUDA 2.x we used gcc version 4.3.2, for CUDA 1.1 we used gcc version 4.1.3. We used bison version 2.3, and flex version 2.5.33. * To use OpenCL: An installation of NVIDIA OpenCL drivers from NVIDIAs OpenCL Page. * GNU Compiler Collection (i.e. gcc) 4.0 or newer o gcc 4.3 recommended for CUDA 2.x o gcc 4.1 recommended for CUDA 1.1 * bison (version 2.3 recommended) 1.sudo apt-get install bison 2.ok. * flex (version 2.5.33 recommended) 1.sudo apt-get install flex 2.ok * zlib * The benchmarks from the ISPASS 2009 paper (distributed separately) have additional dependencies. 1.已有 * Step 2: Download and install the CUDA Toolkit and CUDA SDK code samples from NVIDIAs website: /cuda. If you want to run OpenCL on the simulator, download and install NVIDIAs OpenCL driver from /object/opencl-download.html. * An installation of CUDA which you need to download from NVIDIAs website. 1.Download cudatoolkit_2.3_linux_32_unbuntu9.04.run from /cuda-downloads. 2.给cudatoolkit_2.3_linux_32_unbuntu9.04.run添加执行权限: chmod +x cudatoolkit_2.3_linux_32_unbuntu9.04.run 3.运行 sudo ./cudatoolkit_2.3_linux_32_unbuntu9.04.run 设置路径为default即可 4.上述安装了cudatoolkit,还要安装cudasdk,下载cudasdk_2.3.linux.run 5.chmod +x cudasdk_2.3_linux.run 6.sudo ./cudasdk_2.3_linux.run 设置路径为default即可 * Step 3: Build libcutil.a. The install script for the CUDA SDK does not do this step automatically. If you installed the CUDA Toolkit in a nonstandard location you will first need to set CUDA_INSTALL_PATH to the lo

文档评论(0)

asd522513656 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档