12568

Aristotle: A Performance Impact Indicator for the OpenCL Kernels Using Local Memory

Jianbin Fang, Henk Sips, Ana Lucia Varbanescu
Delft University of Technology
Scientific Programming, 2014

@article{fang2014aristotle,

   author={Fang, Jianbin and Sips, Henk and Varbanescu, Ana Lucia},

   title={Aristotle: A Performance Impact Indicator for the OpenCL Kernels Using Local Memory},

   year={2014}

}

Download Download (PDF)   View View   Source Source   Source codes Source codes

Package:

2445

views

Due to the increasing complexity of multi/many-core architectures (with their mix of caches and scratch-pad memories) and applications (with different memory access patterns), the performance of many workloads becomes increasingly variable. In this work, we address one of the main causes for this performance variability: the efficiency of the memory system. Specifically, based on an empirical evaluation driven by memory access patterns, we qualify and partially quantify the performance impact of using local memory in multi/many-core processors. To do so, we systematically describe memory access patterns (MAPs) in an application-agnostic manner. Next, for each identified MAP, we use OpenCL (for portability reasons) to generate two microbenchmarks: a “naive” version (without local memory) and “an optimized” version (using local memory). We then evaluate both of them on typically used multi-core and many-core platforms, and we log their performance. What we eventually obtain is a local memory performance database, indexed by various MAPs and platforms. Further, we propose a set of composing rules for multiple MAPs. Thus, we can get an indicator of whether using local memory is beneficial in the presence of multiple memory access patterns. This indication can be used to either avoid the hassle of implementing optimizations with too little gain or, alternatively, give a rough prediction of the performance gain.
Rating: 2.5/5. From 2 votes.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: