skip to main content
10.1145/1808901.1808905acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Challenging cloning related problems with GPU-based algorithms

Published:08 May 2010Publication History

ABSTRACT

Graphics Processing Unit (GPU) have been around for a while. Although they are primarily used for high-end 3D graphics processing, their use is now acknowledged for general massive parallel computing. This paper presents an original technique based on [10] to compute many instances of the longest common subsequence problem on a generic GPU architecture using classic DP-matching [7]. Application of this algorithm has been found useful to address the problem of filtering false positives produced by metrics-based clone detection methods. Experimental results of this application are presented along with a discussion of possibilities of using GPUs for other cloning related problems.

References

  1. Eclipse. http://www.eclipse.org.Google ScholarGoogle Scholar
  2. Tomcat. http://tomcat.apache.org.Google ScholarGoogle Scholar
  3. AMD/ATI. Ati ctm guide technical reference manual, version 1.01. http://ati.amd.com, 2006.Google ScholarGoogle Scholar
  4. S. Bellon, R. Koschke, G. Antoniol, J. Krinke, and E. Merlo. Comparison and evaluation of clone detection tools. IEEE Transactions on Software Engineering, 33(9):577--591, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. I. Buck and T. Purcell. GPU Gems, chapter 37, pages 621--636. Addison Wesley, 2004.Google ScholarGoogle Scholar
  6. S. Che, J. Li, J. Sheaffer, K. Skadron, and J. Lach. Accelerating compute-intensive applications with gpus and fpgas. In Symposium on Applications Specific Processors, 2008, pages 101--107, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein. Introduction to algorithms, chapter 15. MIT Press, second edition, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. K. Group. Opencl-the open standard for parallel programming of heterogeneous systems. http://www.khronos.org/opencl/, 2009.Google ScholarGoogle Scholar
  9. P. Kipfer and R. Westermann. GPU Gems 2, chapter 46, pages 733--746. Addison Wesley, 2005.Google ScholarGoogle Scholar
  10. S. Manavski and G. Valle. Cuda compatible gpu cards as efficient hardware accelerators for smith-waterman sequence alignment. In BITS: Annual Meeting, Naples, Italy, April 2007.Google ScholarGoogle Scholar
  11. D. T. Marr, F. Binns, D. L. Hill, G. Hinton, D. A. Koufaty, J. A. Miller, and M. Upton. Hyper-threading technology. 6, february 2002.Google ScholarGoogle Scholar
  12. J. Mayrand, C. Leblanc, and E. Merlo. Experiment on the automatic detection of function clones in a software system using metrics. In Proceedings of the International Conference on Software Maintenance - IEEE Computer Society Press, pages 244--253, Monterey, CA, Nov 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. E. Merlo, G. Antoniol, M. D. Penta, and F. Rollo. Linear complexity object-oriented similarity for clone detection and software evolution analysis. In Proceedings of the International Conference on Software Maintenance - IEEE Computer Society Press, pages 412--416. IEEE Computer Society Press, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. E. Merlo and T. Lavoie. Computing structural types of clone syntactic blocks. In Working Conference on Reverse Engineering, pages 274--278. IEEE, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. P. Micikevicius. GPU Gems 2, chapter 43, pages 695--702. Addison Wesley, 2005.Google ScholarGoogle Scholar
  16. NVIDIA. Nvidia cuda compute unified device architecture, programming guide version 1.0. http://www.nvidia.com, 2007.Google ScholarGoogle Scholar
  17. M. Schatz and C. Trapnell. Fast exact string matching on gpu. http://www.nvidia.com, 2007.Google ScholarGoogle Scholar
  18. E. Seamans and T. Alexander. GPU Gems 3, chapter 35, pages 771--783. Addison Wesley, 2008.Google ScholarGoogle Scholar

Index Terms

  1. Challenging cloning related problems with GPU-based algorithms

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      IWSC '10: Proceedings of the 4th International Workshop on Software Clones
      May 2010
      105 pages
      ISBN:9781605589800
      DOI:10.1145/1808901

      Copyright © 2010 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 8 May 2010

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader