Center for Information Services and High Performance Computing (ZIH)
Guido Juckeland (guido.juckeland@tu-dresden.de)
Center for Information Services and High Performance Computing (ZIH)
In-Depth Performance Analysis for OpenACC/CUDA/OpenCL Applications - - PowerPoint PPT Presentation
Center for Information Services and High Performance Computing (ZIH) Center for Information Services and High Performance Computing (ZIH) In-Depth Performance Analysis for OpenACC/CUDA/OpenCL Applications with Score-P and Vampir Hands-on-Lab @
Center for Information Services and High Performance Computing (ZIH)
Center for Information Services and High Performance Computing (ZIH)
Guido Juckeland 2
Center for Information Services and High Performance Computing (ZIH)
Center for Information Services and High Performance Computing (ZIH)
4 Guido Juckeland
performance problems
intended to eliminate/reduce performance problem
performance data
performance data
application with symbols
(probes/hooks) Preparation Measurement
Analysis Optimization
5
Center for Information Services and High Performance Computing (ZIH)
Center for Information Services and High Performance Computing (ZIH)
foo t bar foo bar foo Sampling
2011/ 06/ 30 10: 15: 12.672865 Enter foo 2011/ 06/ 30 10: 15: 12.672865 Enter foo 2011/ 06/ 30 10: 15: 12.894341 Leave foo
Tracing
Foo: Total Time 0.0815 Bar: Total Time 0.4711 Guido Juckeland – Slide 7
Analysis Layer Analysis Technique
Guido Juckeland – Slide 8
Core Core Core Core Core Core Core Core
Application
Vampir Scalasca Periscope TAU
Accelerator-based parallelism (CUDA, OpenCL)
Score-P measurement infrastructure
Event traces (OTF2)
User instrumentation
Call-path profiles (CUBE4, TAU) Online interface Hardware counter (PAPI, rusage)
Process-level parallelism (MPI, SHMEM) Thread-level parallelism (OpenMP, Pthreads)
Instrumentation wrapper
Source code instrumentation
CUBE TAUdb
Center for Information Services and High Performance Computing (ZIH)
Center for Information Services and High Performance Computing (ZIH)
15 Guido Juckeland
16 Guido Juckeland
17 Guido Juckeland
18 Guido Juckeland
19 Guido Juckeland
Center for Information Services and High Performance Computing (ZIH)
Center for Information Services and High Performance Computing (ZIH)
24 Guido Juckeland
25 Guido Juckeland
26 Guido Juckeland
27 Guido Juckeland
28 Guido Juckeland
29 Guido Juckeland
30 Guido Juckeland
31 Guido Juckeland
32 Guido Juckeland
33 Guido Juckeland
34 Guido Juckeland
35 Guido Juckeland
36 Guido Juckeland
Guido Juckeland 37
Center for Information Services and High Performance Computing (ZIH)
Center for Information Services and High Performance Computing (ZIH)
39 Guido Juckeland
40 Guido Juckeland
41 Guido Juckeland
42 Guido Juckeland
43 Guido Juckeland
44 Guido Juckeland
Guido Juckeland 45
Center for Information Services and High Performance Computing (ZIH)
Center for Information Services and High Performance Computing (ZIH)
47 Guido Juckeland
CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU Core Core Core Core Core Core Core Core Core Core Core Core Core Core Core Core
48 Guido Juckeland