https://github.com/markdtw/parallel-programming
Basic Pthread, OpenMP, CUDA examples
https://github.com/markdtw/parallel-programming
cuda openmp parallel-programming pthreads
Last synced: 4 months ago
JSON representation
Basic Pthread, OpenMP, CUDA examples
- Host: GitHub
- URL: https://github.com/markdtw/parallel-programming
- Owner: markdtw
- Created: 2016-02-17T03:00:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-29T08:36:29.000Z (over 8 years ago)
- Last Synced: 2025-03-02T10:31:14.844Z (10 months ago)
- Topics: cuda, openmp, parallel-programming, pthreads
- Language: C
- Homepage:
- Size: 1.29 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parallel Programming
Basic OpenMP, Pthread and CUDA examples
## Compile
`gpcc`: script to compile OpenMP/Pthread program.
`nvcc`: script to compile CUDA program.
### basic-pp
Contains basic introduction to the threading tools including OpenMP and Pthread.
`frogger.c`: the classic frogger game written in C/Pthread
### mandelbrot-set
Classic pp problem. A particular set of complex numbers which has a highly convoluted fractal boundary when plotted.
`run_all`: the script to run five versions of the implementation.
### CUDA
CUDA introductions and implementation of the n-body problem. n-body problem is the problem of predicting the individual motions of a group of celestial objects interacting with each other gravitationally.
### k-nearest-neighbors
Find k nearest neighbors using Pthread/CUDA