项目作者: markdtw

项目描述 :
Basic Pthread, OpenMP, CUDA examples
高级语言: C
项目地址: git://github.com/markdtw/parallel-programming.git
创建时间: 2016-02-17T03:00:31Z
项目社区:https://github.com/markdtw/parallel-programming

开源协议:

下载


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