Journal of Software Engineering and Applications

Volume 17, Issue 2 (February 2024)

ISSN Print: 1945-3116   ISSN Online: 1945-3124

Google-based Impact Factor: 2  Citations  

Developing a Clang Libtooling-Based Refactoring Tool for CUDA GPU Programming

HTML  XML Download Download as PDF (Size: 7334KB)  PP. 89-108  
DOI: 10.4236/jsea.2024.172005    137 Downloads   531 Views  

ABSTRACT

Refactoring tools, whether fully automated or semi-automated, are essential components of the software development life cycle. As software libraries and frameworks evolve over time, it’s crucial for programs utilizing them to also evolve to remain compatible with modern advancements. Take, for example, NVIDIA CUDA’s platform for general-purpose GPU programming. Embracing the more contemporary unified memory architecture offers several benefits, such as simplifying program source code, reducing bugs stemming from manual memory management between host and device memory, and optimizing memory transfer through automated memory handling. This paper describes our development of a refactoring tool based on Clang’s Libtooling to facilitate this transition automatically, thereby relieving developers from the burden and risks associated with manually refactoring large code bases.

Share and Cite:

Nejadfard, K. and Sang, J. (2024) Developing a Clang Libtooling-Based Refactoring Tool for CUDA GPU Programming. Journal of Software Engineering and Applications, 17, 89-108. doi: 10.4236/jsea.2024.172005.

Cited by

No relevant information.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.