Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.05 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.05 KB

Lecture 3 - Coding Exercises

Setup

In your favorite directory,
$ mkdir cs378
$ cd cs378

You can find the setup instructions also here.

$ git clone https://github.com/flame/blis.git)

$ cd blis

$ git checkout pfhp

$ ./configure -t openmp -p ~/blis auto
$ make -j8
$ make check -j8
$ make install

Getting this codebase

$ cd ..

$ git clone https://github.com/utcs378-pfcp/cs378pfcp-loopordering.git

$ cd cs378pfcp-loopordering

Test to make sure all is set up properly

$ make IJP

Implement GEMV as a loop around DOTS

Edit Dots.c
Edit Gemv_I_Dots.c

To Run

$ make I_Dots

Implement GEMV as a loop around AXPY

Edit Axpy.c
Edit Gemv_J_Axpy.c

To run

$ make J_Axpy

Implement GER as a loop around AXPY

Edit Ger_J_Axpy.c

To run

$ make Ger_J_Axpy

Implement GER as a loop around AXPY

Edit Ger_I_Axpy.c`

To run

$ make Ger_I_Axpy