Update README.md

This commit is contained in:
moebiusband73
2019-03-11 11:23:25 +01:00
committed by GitHub
parent 4f8493b56f
commit 58834fd2da

View File

@@ -3,6 +3,18 @@
This is a collection of simple streaming kernels for teaching purposes. This is a collection of simple streaming kernels for teaching purposes.
It is heavily inspired by John McCalpin's https://www.cs.virginia.edu/stream/. It is heavily inspired by John McCalpin's https://www.cs.virginia.edu/stream/.
It contains the following streaming kernels and the corrsponding data access pattern (Notation: S - store, L - load, WA - write allocate):
* init: S1
* sum: L1
* copy: L1, S1, WA
* update: L1, S1
* triad: L2, S1, WA
* daxpy: L2, S1
* striad: L3, S1, WA
* sdaxpy: L3, S1
## Build ## Build
1. Configure the toolchain to use in the `Makefile`: 1. Configure the toolchain to use in the `Makefile`:
@@ -34,10 +46,10 @@ make distclean
``` ```
to clean intermediate build results and binary. to clean intermediate build results and binary.
5. (Optional) Generate assembler files: 5. (Optional) Generate assembler:
``` ```
make asm make asm
``` ```
The assembler files will also be located in the `<TOOLCHAIN>` directory. The assembler files will also be located in the `<TOOLCHAIN>` directory.
## Usage