Skip to content

Series of examples on how to parallelize serial codes

Notifications You must be signed in to change notification settings

brunoabreuphd/parallelization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Series of examples on how to parallelize serial codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published