• Title of article

    Importance of explicit vectorization for CPU and GPU software performance

  • Author/Authors

    Dickson، نويسنده , , Neil G. and Karimi، نويسنده , , Kamran and Hamze، نويسنده , , Firas، نويسنده ,

  • Issue Information
    روزنامه با شماره پیاپی سال 2011
  • Pages
    16
  • From page
    5383
  • To page
    5398
  • Abstract
    Much of the current focus in high-performance computing is on multi-threading, multi-computing, and graphics processing unit (GPU) computing. However, vectorization and non-parallel optimization techniques, which can often be employed additionally, are less frequently discussed. In this paper, we present an analysis of several optimizations done on both central processing unit (CPU) and GPU implementations of a particular computationally intensive Metropolis Monte Carlo algorithm. Explicit vectorization on the CPU and the equivalent, explicit memory coalescing, on the GPU are found to be critical to achieving good performance of this algorithm in both environments. The fully-optimized CPU version achieves a 9× to 12× speedup over the original CPU version, in addition to speedup from multi-threading. This is 2× faster than the fully-optimized GPU version, indicating the importance of optimizing CPU implementations.
  • Keywords
    GPU , Performance , optimization , vectorization , Monte Carlo , Ising model
  • Journal title
    Journal of Computational Physics
  • Serial Year
    2011
  • Journal title
    Journal of Computational Physics
  • Record number

    1483490