Code Monkey home page Code Monkey logo

signaloid-demo-basic-matrixmultiplication's Introduction

[Add to signaloid.io] [Add to signaloid.io]

MICRO Benchmark: matrix-multiplication

Benchmark from Tsoutsouras et al. MICRO paper.1

The program calculates the multiplication of two matrices using the naive matrix multiplication algorithm.

Arguments

matrix-multiplication -a <file prefix for A> -m <A rows> -n <A columns> -b <file prefix for B> -x <B rows> -y <B columns>
	-a <file prefix for A>: default is "gaussian/input-A"
	-m <A rows>:            default is 8
	-n <A columns>:         default is 8
	-b <file prefix for B>: default is "gaussian/input-B"
	-x <B rows>:            default is 8
	-y <B columns>:         default is 8

Inputs

The inputs make up two 8x8 matrices: matrix A and matrix B. There is one input file corresponding to each matrix element. For example, file input-A-0-0.txt holds samples for the top left element of matrix A. All samples in these files are from a Gaussian distribution of mean 1.0 and variance 1.0.

Ouputs

The program prints the means of the matrix multiplication product.

Footnotes

  1. Vasileios Tsoutsouras, Orestis Kaparounakis, Bilgesu Arif Bilgin, Chatura Samarakoon, James Timothy Meech, Jan Heck, Phillip Stanley-Marbell: The Laplace Microarchitecture for Tracking Data Uncertainty and Its Implementation in a RISC-V Processor. MICRO 2021: 1254-1269 โ†ฉ

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.