@inproceedings{2d605f06c95149e1ae2ee185bcf22a9c,
title = "GPU-SM: Shared memory multi-GPU programming",
abstract = "Discrete GPUs in modern multi-GPU systems can transparently access each other's memories through the PCIe interconnect. Future systems will improve this capability by including better GPU interconnects such as NVLink. However, remote memory access across GPUs has gone largely unnoticed among programmers, and multi-GPU systems are still programmed like distributed systems in which each GPU only accesses its own memory. This increases the complexity of the host code as programmers need to explicitly communicate data across GPU memories. In this paper we present GPU-SM, a set of guidelines to program multi-GPU systems like NUMA shared memory systems with minimal performance overheads. Using GPU-SM, data structures can be decomposed across several GPU memories and data that resides on a different GPU is accessed remotely through the PCI interconnect. The programmability benefits of the shared-memory model on GPUs are shown using a finite difference and an image filtering applications. We also present a detailed performance analysis of the PCIe interconnect and the impact of remote accesses on kernel performance. While PCIe imposes long latency and has limited bandwidth compared to the local GPU memory, we show that the highly-multithreaded GPU execution model can help reducing its costs. Evaluation of finite difference and image filtering GPU-SM implementations shows close to linear speedups on a system with 4 GPUs, with much simpler code than the original implementations (e.g., a 40% SLOC reduction in the host code of finite difference).",
keywords = "GPGPU, I/O interconnects, Shared memory machines",
author = "Javier Cabezas and Marc Jord{\`a} and Isaac Gelado and Nacho Navarro and Hwu, {Wen Mei}",
note = "Publisher Copyright: Copyright 2015 ACM.; 8th Annual Workshop on General Purpose Processing using Graphics Processing Unit, GPGPU 2015 ; Conference date: 07-02-2015",
year = "2015",
month = feb,
day = "7",
doi = "10.1145/2716282.2716286",
language = "English (US)",
series = "ACM International Conference Proceeding Series",
publisher = "Association for Computing Machinery",
pages = "13--24",
editor = "Xiang Gong",
booktitle = "ACM International Conference Proceeding Series",
address = "United States",
}