GithubHelp home page GithubHelp logo

nitaykin / matrix_multiplication_runtime Goto Github PK

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

matrix_multiplication_runtime - compares matrix multiplication with and without thread usage.

Makefile 4.66% C 95.34%

matrix_multiplication_runtime's Introduction

matrix_multiplication_runtime

matrix_multiplication_runtime - compares matrix multiplication with and without thread usage.

After executing the program, you will be prompted to pick in which method you want the multiplication to happen (threaded/non threaded).
Afterwards, the program will ask you for the dimensions of the two matrices to be multiplied.
In case of threaded calculation, you will be asked to chose how many (maximum) threads you want to create.
If the two matrices can be multiplied by one another, the program will generate a random matrices with the dimension specified, with each cell having value between 0 and 5.
At the end of the calculation, you will be prompted about the elapsed time between the start of the calculation and its end, which makes it easy to compare the times between the two methods with different variations of dimensions and number of threads.

no memory leaks were found using valgrind.

install: sudo make sudo make install

usage: multiplier (inside terminal)

uninstall: sudo make uninstall

matrix_multiplication_runtime's People

Contributors

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