Skip to main content

Porting CUDA-Based Molecular Dynamics Algorithms to AMD ROCm Platform Using HIP Framework: Performance Analysis

  • Conference paper
  • First Online:
Supercomputing (RuSCDays 2019)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1129))

Included in the following conference series:

Abstract

The use of graphics processing units (GPU) in computer data processing tasks has long ceased to be an unusual event. However, now GPU computing is nearly synonymous with CUDA, a proprietary framework for developing applications for Nvidia’s GPU devices. It provides comprehensive documentation and excellent development tools. Meanwhile, the main competitor of Nvidia in the market for the production of GPU devices, the AMD company is developing its own Radeon Open Compute (ROCm) platform that features an application programming interface compatible with CUDA. The primary objective of this work is to investigate whether ROCm provides a worthy alternative to CUDA in the field of GPU computing. The work has two sub-objectives: the description of the programmers experience investigation during porting classical molecular dynamics algorithms from CUDA to ROCm platform and performance benchmarking of initial and resulting programs on GPU devices with modern architectures (Pascal, Vega10, Vega20).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. ROCm Install. https://rocm.github.io/ROCmInstall.html#hardware-support. Accessed 15 Apr 2019

  2. Sun, Y., et al.: Evaluating performance tradeoffs on the radeon open compute platform. In: 2018 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS) (2018)

    Google Scholar 

  3. Mohd-Yusof, J.: Codesign molecular dynamics (CoMD) proxy app. In: Los-Alamos National Lab, Technical report (2012)

    Google Scholar 

  4. Mohd-Yusof, J., Sakharnykh, N.: Optimizing CoMD: a molecular dynamics proxy application study. In: GPU Technology Conference (GTC) (2014). http://on-demand.gputechconf.com/gtc/2014/presentations/S4465-optimizing-comd-molecular-dynamics.pdf. Accessed 15 Apr 2019

  5. Norman, G., et al.: Why and what supercomputers of the exaflops class are needed in the natural sciences. Program Syst.: Theory Appl. 6(4), 243–311 (2015)

    Google Scholar 

  6. November 2018 | TOP500 Supercomputer Sites. https://www.top500.org/lists/2018/11/. Accessed 15 Apr 2019

  7. Peddie, J., Dow, R.: Jon Peddie Research releases its Q3, 2018 add-in board report. https://www.jonpeddie.com/press-releases/jon-peddie-research-releases-its-q3-2018-add-in-board-report. Accessed 15 Apr 2019

  8. Turner, D., Andresen, D., Hutson, K., Tygart, A.: Application performance on the newest processors and GPUs. In: Proceedings of the Practice and Experience on Advanced Research Computing - PEARC (2018)

    Google Scholar 

  9. Fang, J., Varbanescu, A., Sips, H.: A comprehensive performance comparison of CUDA and OpenCL. In: International Conference on Parallel Processing (2011)

    Google Scholar 

  10. ROCm-Developer-Tools/HIP. https://github.com/ROCm-Developer-Tools/HIP. Accessed 15 Apr 2019

  11. Aaltonen, S.: Optimizing GPU occupancy and resource usage with large thread groups. https://gpuopen.com/optimizing-gpu-occupancy-resource-usage-large-thread-groups/. Accessed 15 Apr 2019

  12. The LLVM Compiler Infrastructure Project. https://llvm.org/. Accessed 15 Apr 2019

  13. Lo, Y., et al.: Roofline model toolkit: a practical tool for architectural and program analysis. In: Jarvis, S.A., Wright, S.A., Hammond, S.D. (eds.) PMBS 2014. LNCS, vol. 8966, pp. 129–148. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-17248-4_7

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vladimir Stegailov .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kuznetsov, E., Stegailov, V. (2019). Porting CUDA-Based Molecular Dynamics Algorithms to AMD ROCm Platform Using HIP Framework: Performance Analysis. In: Voevodin, V., Sobolev, S. (eds) Supercomputing. RuSCDays 2019. Communications in Computer and Information Science, vol 1129. Springer, Cham. https://doi.org/10.1007/978-3-030-36592-9_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-36592-9_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-36591-2

  • Online ISBN: 978-3-030-36592-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics