-
Notifications
You must be signed in to change notification settings - Fork 0
Common HPC Algorithms
-
Matrix-Vector Multiplication: This Program Computes the Matrix-Vector Dot Product using Kokkos where y=Ax.
-
Conway's Game of Life: This program solves Conway's Game of Life is a cellular automaton that is played on a 2D square grid. Each square (or "cell") on the grid can be either alive or dead, and they evolve according to the following rules:
- Any live cell with fewer than two live neighbours dies (referred to as underpopulation).
- Any live cell with more than three live neighbours dies (referred to as overpopulation).
- Any live cell with two or three live neighbours lives, unchanged, to the next generation.
- Any dead cell with exactly three live neighbours comes to life.
-
Compute PI using Monte Carlo Algorithm: This program uses a Monte Carlo algorithm to compute PI as an example of how random number generators are used to solve problems. This was the best speedup that was achieved as expected, since this program is embarrassingly parallel by nature.
-
Parallel Merge Sort: This Program Sorts a 1-Dimensional Datatype on the CPU or the GPU using Kokkos Parallel Sort and serial merge sort.
Wiki
Fundamental Concepts
- What is HPC?
- How Do Computers Solve Problems?
- Serial to Parallel speedup example
- Shared Memory Architecture
- Heterogenous Architectures
Getting Started with Kokkos