首页> 外文会议>Principles and practice of parallel programming >An Adaptive Performance Modeling Tool for GPU Architectures
【24h】

An Adaptive Performance Modeling Tool for GPU Architectures

机译:适用于GPU架构的自适应性能建模工具

获取原文

摘要

This paper presents an analytical model to predict the performance of general-purpose applications on a GPU architecture. The model is designed to provide performance information to an auto-tuning compiler and assist it in narrowing down the search to the more promising implementations. It can also be incorporated into a tool to help programmers better assess the performance bottlenecks in their code. We analyze each GPU kernel and identify how the kernel exercises major GPU microarchitecture features. To identify the performance bottlenecks accurately, we introduce an abstract interpretation of a GPU kernel, work flow graph, based on which we estimate the execution time of a GPU kernel. We validated our performance model on the NVIDIA GPUs using CUDA (Compute Unified Device Architecture). For this purpose, we used data parallel benchmarks that stress different GPU microarchitecture events such as uncoalesced memory accesses, scratch-pad memory bank conflicts, and control flow divergence, which must be accurately modeled but represent challenges to the analytical performance models. The proposed model captures full system complexity and shows high accuracy in predicting the performance trends of different optimized kernel implementations. We also describe our approach to extracting the performance model automatically from a kernel code.
机译:本文介绍了一个分析模型,以预测GPU架构上通用应用的性能。该模型旨在向自动调整编译器提供性能信息,并帮助它缩小搜索更有前途的实现。它也可以合并到工具中,以帮助程序员更好地评估其代码中的性能瓶颈。我们分析每个GPU内核并确定内核练习主要GPU微体系结构的功能。为了准确识别性能瓶颈,我们介绍了GPU内核,工作流程图的抽象解释,基于我们估计GPU内核的执行时间。我们通过CUDA(计算统一设备架构)验证了NVIDIA GPU上的性能模型。为此,我们使用了压力不同GPU微架构的数据并行基准,例如未扩展的存储器访问,刮板存储库冲突和控制流频道,这必须准确地建模,但代表了对分析性能模型的挑战。所提出的模型捕获完整的系统复杂性,并在预测不同优化的内核实现的性能趋势方面捕获了高精度。我们还描述了我们从内核代码中自动提取性能模型的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号