Semi-automated loop transformations in eclipse
Loop transformations have been used by compilers to optimize the performance of codes. However, it is difficult for the compiler to determine the best loop transformations due to code complexity. In this project, a tool was developed to provide users with an efficient method to perform loop transfor...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
2013
|
Subjects: | |
Online Access: | http://hdl.handle.net/10356/55029 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-55029 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-550292023-03-03T20:37:11Z Semi-automated loop transformations in eclipse Syn, Zheng Yi. Stephen John Turner School of Computer Engineering Parallel and Distributed Computing Centre DRNTU::Engineering::Computer science and engineering Loop transformations have been used by compilers to optimize the performance of codes. However, it is difficult for the compiler to determine the best loop transformations due to code complexity. In this project, a tool was developed to provide users with an efficient method to perform loop transformations to optimize their code. The tool consists of a user interface which allow users to easily perform loop transformation and to view the performance gained. Invalid loop transformations would also be shown to the user to ensure the correctness of the original program. A semi-automated loop transformation was also implemented to automate the process of finding the best loop transformations. By providing users with a method to perform loop transformations, the cases where the compiler is unable to perform loop transformation due to code complexity can be prevented. The semi-automated loop transformation also provides a choice for the user to decide if the loop transformation is profitable depending on their application needs. Through several tests performed on various benchmarks using the semi-automated transformation function, improvements in execution time, ranging from 1.5 to 5 times faster than the original execution time, was observed for some of the benchmarks. Bachelor of Engineering (Computer Science) 2013-12-04T01:25:51Z 2013-12-04T01:25:51Z 2013 2013 Final Year Project (FYP) http://hdl.handle.net/10356/55029 en Nanyang Technological University 88 p. application/pdf |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
DRNTU::Engineering::Computer science and engineering |
spellingShingle |
DRNTU::Engineering::Computer science and engineering Syn, Zheng Yi. Semi-automated loop transformations in eclipse |
description |
Loop transformations have been used by compilers to optimize the performance of codes. However, it is difficult for the compiler to determine the best loop transformations due to code complexity. In this project, a tool was developed to provide users with an efficient method to perform loop transformations to optimize their code.
The tool consists of a user interface which allow users to easily perform loop transformation and to view the performance gained. Invalid loop transformations would also be shown to the user to ensure the correctness of the original program. A semi-automated loop transformation was also implemented to automate the process of finding the best loop transformations.
By providing users with a method to perform loop transformations, the cases where the compiler is unable to perform loop transformation due to code complexity can be prevented. The semi-automated loop transformation also provides a choice for the user to decide if the loop transformation is profitable depending on their application needs.
Through several tests performed on various benchmarks using the semi-automated transformation function, improvements in execution time, ranging from 1.5 to 5 times faster than the original execution time, was observed for some of the benchmarks. |
author2 |
Stephen John Turner |
author_facet |
Stephen John Turner Syn, Zheng Yi. |
format |
Final Year Project |
author |
Syn, Zheng Yi. |
author_sort |
Syn, Zheng Yi. |
title |
Semi-automated loop transformations in eclipse |
title_short |
Semi-automated loop transformations in eclipse |
title_full |
Semi-automated loop transformations in eclipse |
title_fullStr |
Semi-automated loop transformations in eclipse |
title_full_unstemmed |
Semi-automated loop transformations in eclipse |
title_sort |
semi-automated loop transformations in eclipse |
publishDate |
2013 |
url |
http://hdl.handle.net/10356/55029 |
_version_ |
1759856514100625408 |