Optimizations of graph coloring method for unstructured finite volume computational fluid dynamics on GPU
Author:
Affiliation:

(1. School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China;2. STFC Daresbury Laboratory, Hartree Centre, Warrington WA4 ;4.AD, UK;3. China Aerodynamics Research and Development Center, Mianyang 621000; China)

Clc Number:

TN95

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    Graph coloring was used to address resource competition for the two typical computing procedures, including the flux summation and the calculation of local maximum pressure. There were three optimizations applied on graph coloring including shared memory, the reordering of volume and face indices, and the reordering of face variables. The 3D aerodynamics application with a series of mesh sizes was used in the performance test by double and single precision floating point operations on GPU Nvidia Tesla V100 and K80. The performance tests show that the shared memory is not obvious in performance. Furthermore, the reorder of volume and face indices reduces the performance of graph coloring.It is found that the reorder of face variables can increase performance remarkably. Specifically, the performance of graph coloring is increased by around 20% on V100 and 15% on K80.

    Reference
    Related
    Cited by
Get Citation
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:November 09,2020
  • Revised:
  • Adopted:
  • Online: September 28,2022
  • Published: October 28,2022
Article QR Code