GitXplorerGitXplorer
x

Parallelized-Particle-Simulation-CS267-HW2

public
0 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
e20ecd25950e40b6088dea2603bc8934a7177cd0

added part 3 submission

xxingyousong committed 7 years ago
Verified
3764c8f2a51a70e15c321aaa499c03a3c7d18740

added graphs and writeup

xxingyousong committed 7 years ago
Unverified
4c532622be48ac3ae005c6496e33369d5e29fd32

hahha

committed 7 years ago
Unverified
66cc4ebed348e87755f700fa01524f30d3bede27

haha

committed 7 years ago
Verified
f612a04da8e1427f331df4e62bac257e371edd57

Add files via upload

YYao-The-Beast committed 7 years ago
Unverified
c2bddb52d2a77b41c842050316039e08080f1500

final figure data included

committed 7 years ago

README

The README file for this repository.

In order to use cuda you must first load the cuda module by running: 'module load cuda'

See https://portal.xsede.org/psc-bridges "Using Bridges GPU Nodes" for additional details.

'autocorrect' is the program that checks whether your particles are interacting properly. If it prints an error, then your particles are not interacting properly.

If you are using the autograder to check your performance, you will need to submit 'auto-bridges-gpu' and then run 'python gen_gpusum.py' to general summary statistics and grade your code.

Note that 'auto-bridges-gpu' tests your GPU code against 'serial.cu'. Without any modifications, it tests the O(n^2) GPU code against the O(n^2) serial code that are already provided.

You will need to modify either 'auto-bridges-gpu' or replace 'gpu.cu' and 'serial.cu' with their O(n) versions. You should already have a working O(n) serial code from Part 1 of this assignment.

We will be testing your code against an optimized, O(n), 'serial.cu' code. If you would like this optimized code to test against your GPU code, then please ask your instructor.