Code Monkey home page Code Monkey logo

gpgpu-bench's Introduction

Benchmark suites for GPGPU-Sim

This repository includes several benchmark suites that can be simulated using GPGPU-Sim. These benchmarks are tested using GPGPU-Sim 3.2.2 on Ubuntu 14.04 and the compatible Linux distros (such as LinuxMint 17).

Installation

  1. Run get_cuda.sh to install NVIDIA CUDA and CUDA SDK. This script will execute the patch for CUDA SDK automatically. Use the default target directory (/usr/local/cuda) for CUDA. You can set any target directories for CUDA SDK, but the all scripts in this repository assume CUDA SDK is installed in ~/workspace/cuda_sdk4.

    $ ./get_cuda.sh 
    
  2. Install CUDA SDK. Move to the source directory (~/workspace/cuda_sdk4/C) and run cuda_sdk_fail.sh which will move the sources that cannot be compiled to src_failed folder. Then compile CUDA SDK by executing make.

    $ cd ~/workspace/cuda_sdk4/C
    $ ./cuda_sdk_fail.sh
    $ make
    
  3. Run get_benchmarks.sh to download the source files of the benchmark suites. You can select the benchmark suites that you want to install.

    $ cd ~/workspace/gpgpu-bench
    $ ./get_benchmarks.sh
    
  4. Run patches for the downloaded benchmark suites. The patches will copy the modified compilation scripts. The following code exhibits how to run the patch for GPGPU-Sim bundle benchmarks.

    $ cd patch
    $ ./patch_ispass2009.sh
    
  5. Now, you are ready to compile the benchmark suites.

Compilation

  1. CUDA SDK: already compiled while installing CUDA SDK.

  2. GPGPU-Sim bundle

    $ cd ispass2009
    $ make -f Makefile.ispass-2009
    
  3. Rodinia 3.1

    $ cd rodinia_3.1
    $ ./compile_rodinia.sh
    $ ./compile_rodinia_nvidia.sh
    
  4. Mars

    $ cd Mars
    $ ./compile_mars.sh
    
  5. PolyBench

    $ cd PolyBench-ACC
    $ ./compile_cuda.sh
    
  6. SHOC

    $ cd shoc
    $ ./configure
    $ ./make
    $ ./make install
    

For other benchmark suites, refer readme.txt


gpgpu-bench's People

Contributors

gunjae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.