Giter Site home page Giter Site logo

se4hpc-part-i's Introduction

SE4HPCproject - Step 1 Testing

The goal is to test a specific buggy implementation of the matrix multiplication software. Your objectives are:

  • To identify test cases able to spot the errors and

  • To automate the execution of tests through Google Test.

The implementation to be tested is a matrix multiplication function made available as a compiled object code. The function has the following signature:

void multiplyMatrices(const std::vector<std::vector<int>>& A, const std::vector<std::vector<int>>& B, std::vector<std::vector<int>>& C, int rowsA, int colsA, int colsB);

Use the template available here https://github.com/SimoneReale/SE4HPC_project_part1 to create your own github repository. The project includes:

  • The matrix multiplication object code in the library libmatrix_multiplication.a under the lib folder.

  • The header defining the matrix multiplication signature under the include folder.

  • The file test_matrix_multiplication.cpp under folder test that contains a simple example of test case.

  • The makefile you can use for building the software.

  • The file matrix_mult.cpp under folder src that includes a correct implementation of the matrix multiplication you can use as a reference

Your task is extending the file test_matrix_multiplication.cpp with your test cases. Please insert proper comments in the code to explain why you have selected that specific test case and the behaviour you expect from it. Push the result of your work in your repo. If your local environment does not allow you to create a correct build, consider using the GitHub actions and their runners. This will be useful also for your next task.

se4hpc-part-i's People

Contributors

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