Giter Site home page Giter Site logo

jpantao / cp-labs Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 5.67 MB

Concurrency and Parallelism course labs code

License: MIT License

Python 16.35% Java 5.04% CMake 2.29% C 71.28% Kotlin 5.04%
concurrency parallelism openmp openmp-parallelization c java kotlin cmake python comparisons

cp-labs's Introduction

cp-labs

This repository contains some examples from my concurrency and parallelization course and is organized as follows:

.                    
├── data              # experiment data and reports
├── p00-montecarlo    # pi approximation by the montecarlo method (Kotlin - Coroutines)
├── p01-montecarlo    # pi approximation by the montecarlo method (Java - Threads)
├── p02-montecarlo    # pi approximation by the montecarlo method (C - pthread)
├── p03-openmp        # pi approximation by the montecarlo method (C - OpenMP)
├── p04-gameoflife     # multithreaded implementation of the game of life created by John Conway
├── scripts           # scripts to run the experiments
├── LICENSE
└── README.md         # this file

The data directory contains the data and evaluations of each experiment specifying the environment in which they were performed. The scripts to execute these experiments can be found in the scripts directory and the executable files that were used are also provided along with the code. Note that the scripts take into consideration the location of the executable files and they are meant to be executed from within the scripts directory.

If you want to compile them by yourself there are instructions on how to do it in the README of the project's directory.

Experiments:

  • Pi approximation by the Montecarlo method performance comparison (results available here);
  • Game of Life parallelized using OpenMP (results available here).

cp-labs's People

Stargazers

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