Giter Site home page Giter Site logo

michaelk4 / parallel-implementation-of-submatrix-search-final-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 741 KB

This project is aimed at developing a simplified recognition algorithm for identifying objects in each given picture with an appropriate matching value. The program takes a set of pictures and a set of objects, and searches for three different objects in each picture. The output includes the list of objects found in each picture.

C 96.74% Makefile 3.26%

parallel-implementation-of-submatrix-search-final-project's Introduction

Parallel-implementation-of-Submatrix-Search-Final-project

This project is aimed at developing a simplified recognition algorithm for identifying objects in each given picture with an appropriate matching value. The program takes a set of pictures and a set of objects and searches for three different objects in each picture. The output includes the list of objects found in each picture.

The program runs on the Linux operating system to use the program in the terminal do this

To compile the code write in the terminal: make all

To run the program write in the terminal: make run

To clear all: write in the terminal: make clean

Works for both the sequential solution and the parallel solution.

The parallelization

The parallelization uses MPI(Message Passing Interface) and OpenMP(Open Multi-Processing), with MPI dividing the work on the pictures between two processes and OpenMP was used to assign each thread to process a subset of pictures and to execute multiple iterations of a loop in parallel. Each process received two threads.

Overall the sequential solution under the Linux operating system with 4 cores runs on average about 32.5 seconds and the parallel solution for about 17.6 seconds.

parallel-implementation-of-submatrix-search-final-project's People

Contributors

michaelk4 avatar

Watchers

 avatar

parallel-implementation-of-submatrix-search-final-project's Issues

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.