Similar presentations:
Parallel programming in problems of mathematical physics
1.
Parallelprogramming in
problems of
mathematical physics
Dmitry Bogoslovsky
Voronezh State University
2.
The Dirichlet problem
Solution
Software implementation on the CPU
Software implementation on the GPU
3.
The Dirichlet problemFind an unknown function u(x,y)
2u 2u
2 0,
2
x
y
{( x, y | 0 x a,0 y b)}
4.
SolutionApproximate partial derivatives:
ui , j
ui 1, j ui 1, j ui , j 1 ui , j 1
4
i 1,..., n 1, j 1,..., m 1.
,
5.
Solution6.
01Software implementation
on the CPU
02
03
Implementation in C++
Single-threated
Implementation in C++
OpenMP
Implementation in Python
Single-threated
7.
Software implementation on the CPU8.
Software implementationon the GPU
Tesla K80
9.
Software implementationon the GPU
Tesla K80 accelerator features:
4992 cores
Performance up to 8.73 teraflops
CUDA
10.
Software implementation on the GPU11.
12.
PlusesHigh performance.
Lots of ready made solutions.
Great documentation.
Minuses
Need a supercomputer.
Expensive.
Slow development of technology.
13.
Parallelprogramming in
problems of
mathematical physics
Dmitry Bogoslovsky
Voronezh State University