2019 · 14 citations · 13 references
ComputingComputer EngineeringComputer ScienceHeterogeneous ComputingMachine LearningMemoryGraphics Processing Unit ComputingGraphics Processing UnitsHardware AccelerationMemory Hierarchy OptimizationUnified Memory SystemsCuda ProgrammingGpu Performance ProfilingGpu ProfilingManual Memory ManagementMetricsOffline ProgrammingUnified MemoryUnified Memory Optimization
NVIDIA's unified memory (UM) creates a pool of managed mem- ory on top of physically separated CPU and GPU memories. UM automatically migrates page-level data on-demand so program- mers can quickly write CUDA codes on heterogeneous machines without tedious and error-prone manual memory management. To improve performance, NVIDIA allows advanced programmers to pass additional memory use hints to its UM driver. However, it is extremely difficult for programmers to decide when and how to effi- ciently use unified memory, given the complex interactions between applications and hardware. In this paper, we present a machine learning-based approach to choosing between discrete memory and unified memory, with additional consideration of different memory hints. Our approach utilizes profiler-generated metrics of CUDA programs to train a model offline, which is later used to guide opti- mal use of UM for multiple applications at runtime. We evaluate our approach on NVIDIA Volta GPU with a set of benchmarks. Results show that the proposed model achieves 96% prediction accuracy in correctly identifying the optimal memory advice choice.
13
Rodinia: A benchmark suite for heterogeneous computing
Shuai Che, Michael Boyer, Jiayuan Meng et al. · 2009 · 3K citations
A GPGPU compiler for memory optimization and parallelism management
Yi Yang, Ping Xiang, Jingfei Kong et al. · 2010 · 276 citations · Full text
An investigation of Unified Memory Access performance in CUDA
Raphael Landaverde, Tiansheng Zhang, Ayse K. Coskun et al. · 2014 · 109 citations
PORPLE: An Extensible Optimizer for Portable Data Placement on GPU
Guoyang Chen, Bo Wu, Dong Li et al. · 2014 · 79 citations