Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.73 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.73 KB

parallelization

Series of examples on how to optmize/parallelize serial codes.

This folder has some basic exercises that optimize and parallelize very simple serial codes.

This is an example of a matrix multiplication code. It is currently offered in Fortran. It was tested with GCC 10.2.1 20201220.

Serial code in Fortran. Makefile is available for compilation with GCC.

This folder contains the serial code and a supporting Python script and Jupyter notebook that compiles and runs the code with every single individual GCC optmization flag (listed here).

This is an example of a Single-precision A*X plus Y code. It is currently offered in C. It was tested with GCC 10.2.1 20201220.

Serial code in C. Makefile is available for compilation with GCC.

This folder contains the serial code and a supporting Python script and Jupyter notebook that compiles and runs the code with every single individual GCC optmization flag (listed here).

This folder contains the code with OpenMP directives to parallelize the SAXPY loop, and a supporting Python script and Jupyter notebook that compiles and runs the code with with different numbers of threads.

CITE-ME

As all other projects in this GitHub, the programs are protected by a license/copyright that requires proper acknowledgement. Please refer to: https://github.com/babreu-ncsa/cite-me.