2014 · 14 citations · 16 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureParallel AlgorithmsParallel ComputingGraphics Processing UnitsMemory Hierarchy OptimizationMulticore Processor DesignParallel ArchitecturesParallel Computer ArchitectureParallel Performance AnalysisCache DesignCache Hierarchy DesignGpu ArchitectureKernel OptimizationMany-core ArchitectureMany-core ProcessorsMemory Hierarchy PerformanceMulti-core Computing
Stencils are among the most important and time-consuming kernels in many applications. While stencil optimization has been a well-studied topic on CPU platforms, achieving higher performance and efficiency for the evolving numerical stencils on the more recent multi-core and many-core architectures is still an important issue. In this paper, we explore a number of different stencils, ranging from a basic 7-point Jacobi stencil to more complex high-order stencils used in finer numerical simulations. By optimizing and analyzing those stencils on the latest multi-core and many-core architectures (the Intel Sandy Bridge processor, the Intel Xeon Phi coprocessor, and the NVIDIA Fermi C2070 and Kepler K20x GPUs), we investigate the algorithmic and architectural factors that determine the performance and efficiency of the resulting designs. While multi-threading, vectorization, and optimization on cache and other fast buffers are still the most important techniques that provide performance, we observe that the different memory hierarchy and the different mechanism for issuing and executing parallel instructions lead to the different performance behaviors on CPU, MIC and GPU. With vector-like processing units becoming the major provider of computing power on almost all architectures, the compiler's inability to align all the computing and memory operations would become the major bottleneck from getting a high efficiency on current and future platforms. Our specific optimization of the complex WNAD stencil on GPU provides a good example of what the compiler could do to help.
16
3D finite difference computation on GPUs using CUDA
Paulius Micikevicius · 2009 · 518 citations
3.5-D Blocking Optimization for Stencil Computations on Modern CPUs and GPUs
Anthony D. Nguyen, Nadathur Satish, Jatin Chhugani et al. · 2010 · 293 citations