Abstract

We present VectorPU, a C++ based programming framework providing high-level and efficient unified memory access on heterogeneous systems, in particular GPU-based systems. VectorPU consists of a light-weight runtime library providing a generic, smart data-container abstraction for transparent software caching of array operands with programmable memory coherence, and a light-weight component model realized by macro-based data access annotations. VectorPU thereby enables a flexible unified memory view with data transfer and device memory management abstracted away from programmers, while keeping the efficiency of expert-written code with manual data movement and memory management. We provide a prototype of VectorPU for (CUDA) GPU-based systems, and show that it can achieve 1.40× to 13.29× speedup over good quality code using Nvidia's Unified Memory by experiments on several machines ranging from laptops to supercomputer nodes, with Kepler and Maxwell GPUs. We also show the expressiveness and wide applicability of VectorPU, and its low overhead and equal efficiency compared to expert-written code.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.