ComputingComputer EngineeringComputer ScienceCompilersComputer GraphicsProgramming LanguagesComputer Graphics HardwareDirect Memory AccessGraphics Processing Unit ComputingGraphics Processing UnitsHardware AccelerationMemory Hierarchy OptimizationCompute Unified Device ArchitectureCuda ProgrammingData Transfer OptimizationFlexibilityGpu Compiler OptimizationGpu MicroarchitectureGpu Programming ModelsSource-to-source Translation
The Compute Unified Device Architecture (CUDA) has become a de facto standard for programming NVIDIA GPUs. However, CUDA places on the programmer the burden of packaging GPU code in separate functions, of explicitly managing data transfer between the host memory and various components of the GPU memory, and of manually optimizing the utilization of the GPU memory. Practical experience shows that the programmer needs to make significant code changes, which are often tedious and error-prone, before getting an optimized program. We have designed hiCUDA, a high-level directive-based language for CUDA programming. It allows programmers to perform these tedious tasks in a simpler manner, and directly to the sequential code. Nonetheless, it supports the same programming paradigm already familiar to CUDA programmers. We have prototyped a source-to-source compiler that translates a hiCUDA program to a CUDA program. Experiments using five standard CUDA bechmarks show that the simplicity and flexibility hiCUDA provides come at no expense to performance.
6
Ian Buck, Daniel Reiter Horn, Jeremy Sugerman et al. · ACM Transactions on Graphics · 2004 · 1.2K citations
Program optimization space pruning for a multithreaded gpu
Shane Ryoo, Christopher Rodrigues, Sam S. Stone et al. · 2008 · 290 citations
Ian Buck, Daniel Reiter Horn, Jeremy Sugerman et al. · 2004 · 251 citations