Course CUDA Parallel Programming from NTU.
- Assignments
Folder | Tags | CUDA |
---|---|---|
Problem Set 1 | Vector Addition, Matrix Addition | |
Problem Set 2 | Find Maximum, Dot Product, Vector Addition | Shared Memory, Parallel Reduction, Multi-GPUs |
Problem Set 3 | Laplace Equation | Texture Memory |
Problem Set 4 | Dot Product | Shared Memory, Parallel Reduction, Multi-GPUs |
Problem Set 5 | Heat Diffusion | Multi-GPUs |
Problem Set 6 | Random Number, Histogram | Shared Memory |
Problem Set 7 | Monte Carlo Integration, Simple Sampling, Metropolis Algorithm | cuRAND |
Problem Set 8 | Multigrids Method | |
Problem Set 9 | Ising Model | Multi-GPUs |
Problem Set 10 | Poisson Equation | cuFFT |
Problem sets are named as hwX_2020.pdf
, my reports are named as r08244002_psX.pdf
.
- Vector Addition
- Matrix Addition
- Find Maximum
- Parallel Reduction
- Dot Product
- Parallel Reduction
- Vector Addition
- Add two arbitrary large vector together.
- Work with multiple GPUs.
- Laplace Equation on 2D lattice
- Solve laplace equation on the lattice.
- CPU only
- GPU with device memory
- GPU with texture memory
- Solve laplace equation on the lattice.
- Laplace Equation on 2D lattice with boundary condition
- Solve laplace equation on the lattice.
- CPU only
- GPU with device memory
- GPU with texture memory
- Solve laplace equation on the lattice.
- Laplace Equation on 3D lattice with boundary condition
- Solve laplace equation on the lattice.
- CPU only
- GPU with device memory
- GPU with texture memory
- Solve laplace equation on the lattice.
- Dot Product
- Parallel Reduction
- Work with multiple GPUs.
- Heat Diffusion
- Solve for the thermal equilibrium temperature distribution on a square plate.
- Work with multiple GPUs.
- Solve for the thermal equilibrium temperature distribution on a square plate.
- Random Number
- Generate random numbers with exponential decay distribution e-x.
- Histogram
- Collect a series of data, and build a histogram.
- CPU
- GPU with global memory
- GPU with shared memory
- Collect a series of data, and build a histogram.
- Monte Carlo Integration
- Do integration in 10-dim
- CPU only
- Simple Sampling
- Metropolis Algorithm
- Work with multiple GPUs.
- Simple Sampling
- Metropolis Algorithm
- CPU only
- Do integration in 10-dim
- 2D Ising Model on a Torus
- Simulation of 2D Ising model on a torus
- CPU only
- Work with multiple GPUs.
- Do measurements and estimate the errors
- Energy
- Magnetization
- Simulation of 2D Ising model on a torus
- Poisson Equation
- Solve Poisson Equation using FFT
- GPU, cuFFT
- Solve Poisson Equation using FFT