Giter Club home page Giter Club logo

computer-systems-lab-3's Introduction

Computer-Systems-Lab-3

Contains solution for INVXOR problem from March Challenge 2020 contest from CodeChef (main.cpp) which is compiled and tested with different compilation options on University's cluster (G++/ICC compiler)

Also contains custom testcase generator (testGenerator.cpp), which is pretty simple, but produces relatively adequate (not just "-1"-answer) tests

Another program (convol.cpp) which better benefits from optimizations and SIMD extensions is also provided. It computes one-dimensional discrete convolution of pseudo-random generated input of given size and seed (for deterministic testing)

"CS Lab 3 VS" folder contains VS projects for these individual programs and also for the one which was optimized with Intel Parallel Studio XE 2020 (OptimizationTest) and generator for it's input file (OptimizationFileGen)

run.sh is a script used for time-testing different compilation parameters and generating reports.

  • 1st argument is the "index" of filenames used. E.g. log$1.txt is the output log file, where $1 is "index";
  • 2nd argument is the source file;
  • 3rd argument is the input file to be redirected to STDIN of the compiled source;
  • 4th argument is compiler for the first subtask (different -O options). For testing extensions icc is used anyway.

qsubRun.sh is launched on cluster from the repository directory to start 5 qsub jobs of run.sh with different first ("index") argument (if they were the same, we could have concurrent writes).

  • Arguments 1-3 are passed to arguments 2-4 of run.sh

computer-systems-lab-3's People

Contributors

yurkoflisk avatar

Watchers

 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.