Giter Site home page Giter Site logo

concurrent_assignment2's Introduction

This is the readme file of assignment 2

Daeyoun Kang, 20163003
Apr 28, 2016



Compile
=============
You need GNU make, gcc and nvcc to compile this code. There are three build options for compile.
 * make naive			compile naive version (no thread)
 * make cuda			compile concurrent version using CUDA
 * make info			compile special version for print GPU information and junk time data
 * make clean			clear files
You should set build options. If there is no build options, Makefile will print usage command instead compile it. Note that compile naive version will generate assignment2.c, which is not original source code.

You can put extra options when compile. These are the option you can use.
 * NORAND=1				compile without setrand function. it'll be useful when checking bug in algorithm.
 * DEBUG=1				compile with debug message
You don't need to set extra options.


Execute
============
After compile, there will be one executable file, assignment1. To execute this file, use this command:
  ./assignment2 <size>
You need to set size even when you execute information version.

If number of argument is less than 1, program will show usage command and terminate. If there are equal or more than 2 arguments, it'll be ignored.
Only digits allowed in arguments. If there are not digits in arguments, program will terminate without printing any error.

concurrent_assignment2's People

Contributors

ikasty avatar

Watchers

 avatar  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.