Automatic Code Parallelization with OpenMP task constructs
Authors:
- 9 February 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 233-238
Abstract
Multi-core processors are very common in the form of dual-core and quad-core processors. To take advantage of multiple cores, parallel programs are written. Existing legacy applications are sequential and runs on multiple cores utilizing only one core. Such applications should be either rewritten or parallelized to make efficient use of multiple cores. Manual parallelization requires huge efforts in terms of time and money and hence there is a need for automatic parallelization. Automatic Code Parallelizer using OpenMP automates the insertion of compiler directives to facilitate parallel processing on multi-core shared memory machines. The proposed tool converts an input sequential C source code into a multi-threaded parallel C source code. The tool supports multi-level parallelization with the generation of nested OpenMP constructs. The proposed scheme statically decomposes a sequential C program into coarse grain tasks, analyze dependency among tasks and generates OpenMP parallel code. The focus is on coarse-grained task parallelism to improve performance beyond the limits of loop parallelism. Due to the broad support of OpenMP standard, the generated OpenMP codes can run on a wide range of SMP machines and may result in a performance improvement.Keywords
This publication has 6 references indexed in Scilit:
- Data dependency analysis using data-write detection techniques2010
- Load balancing and OpenMP implementation of nested parallelismParallel Computing, 2005
- Nested Parallelism: Allocation of Threads to Tasks and OpenMP ImplementationScientific Programming, 2001
- Coarse-grain Task Parallel Processing Using the OpenMP Backend of the OSCAR Multigrain Parallelizing CompilerLecture Notes in Computer Science, 2000
- Interprocedural side-effect analysis in linear time1988
- Dependence Analysis for Supercomputing1988