Changes between Version 14 and Version 15 of Public/User_Guide/Offloading_hybrid_apps
- Timestamp:
- Sep 17, 2019, 5:26:14 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Public/User_Guide/Offloading_hybrid_apps
v14 v15 1 = '''Offloading Computational Tasks of Hybrid MPI + OpenMP/OmpSs-2 Applications to GPUs''' = 1 = Offloading Computation Tasks of Hybrid Applications to GPUs = 2 With '''MPI''' + '''OpenMP''' / '''!OmpSs-2''' 2 3 3 4 Table of contents: 4 5 5 6 * [#QuickOverview Quick Overview] 6 * Examples: 7 * [#N-BodyBenchmark N-Body Benchmark] 7 * [#N-BodyBenchmark N-Body Benchmark] 8 8 * [#References References] 9 9 10 ----11 12 10 == Quick Overview == 11 12 Current and near-future High Performance Computing (HPC) systems consists of 13 thousands of parallel computing nodes, connected by high-bandwidth network 14 interconnections, and in most of the cases, each node leveraging one or more 15 GPU devices. 16 17 Moreover, some of the most modern GPU devices, such as NVIDIA Tesla V100, 18 support the Unified Memory which facilitates the task of the users. With those 19 devices, users do not have to move or copy the data to/from the GPU, and also, 20 pointers at the host are the same at the device. 21 22 For these reasons, parallel applications should try to take benefit from these 23 GPU resources, and they should try to offload the most compute-intensive parts 24 of the applications to the available GPUs. In this page, we are going to briefly 25 explain the approaches proposed by the OpenMP and the !OmpSs-2 programming models 26 to facilitate the offloading of computation tasks to the Unified Memory GPUs. Then, 27 we show an hybrid MPI + OpenMP/OmpSs-2 benchmark that offloads some tasks, and that 28 we can execute on the DEEP system. 13 29 14 30 == N-Body Benchmark == … … 25 41 gravitational force. 26 42 27 N- body simulation arises in many other computational science problems as well.43 N-Body simulation arises in many other computational science problems as well. 28 44 For example, protein folding is studied using N-body simulation to calculate 29 45 electrostatic and ''Van der Waals'' forces. Turbulent fluid flow simulation and