Visualization of OpenCL application execution on CPU-GPU systems

Amir Kavyan Ziabari, R. Ubal, Dana Schaa, D. Kaeli
{"title":"Visualization of OpenCL application execution on CPU-GPU systems","authors":"Amir Kavyan Ziabari, R. Ubal, Dana Schaa, D. Kaeli","doi":"10.1145/2795122.2795125","DOIUrl":null,"url":null,"abstract":"Evaluating the performance of parallel and heterogeneous programs and architectures can be challenging. An emulator or simulator can be used to aid the programmer. To provide guidance and feedback to the programmer, the simulator needs to present traces, reports, and debugging information in a coherent and unambiguous format. Although these outputs contain a lot of detailed information relative to the logical and physical transactions about the execution, they are usually extremely large and hard to analyze. What is needed is an interface into the simulator that can help programmers and architects shift through this myriad of data. In this contribution, we describe the M2S-Visual trace-driven visualization tool, a complementary addition to Multi2sim (M2S) heterogeneous system simulator. M2S-Visual provides a graphical representation of parallel program execution on the simulator. M2S is an established simulator, designed with an emphasis on simulating the execution of parallel applications on graphics processing units, and provides a number of instrumentation capabilities that enable research in architecture exploration and application characterization. This visualization framework, added to Multi2sim, aims to complement (and potentially replace) text-based statistical profiling, enabling the user to better learn and understand each software transaction executed on the simulated hardware. While M2S supports emulation of both OpenCL and CUDA programs, our visualization framework presently only supports OpenCL execution. M2S supports execution on both CPUs (X86, ARM and MIPS) and GPUs (AMD Evergreen and Southern Islands, and NVIDIA Fermi and Kepler), but presently only supports detailed visualization on a multicore X86 CPU and AMD Evergreen and Southern Islands GPUs. Besides supporting OpenCL programming and debugging, an additional goal is to deliver a reliable product for teaching the details of parallel programming execution on heterogeneous systems. Given the move to many-core architectures in the industry, this toolset is timely and addresses a growing gap in our educational infrastructure. The tool is also designed to support the research community, providing analysis of performance bottlenecks of OpenCL programs. We also incorporated the option to produce visualization graphs which provide deeper insight into application performance and hardware resource utilization.","PeriodicalId":442393,"journal":{"name":"Proceedings of the Workshop on Computer Architecture Education","volume":"103 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-06-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Workshop on Computer Architecture Education","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2795122.2795125","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Evaluating the performance of parallel and heterogeneous programs and architectures can be challenging. An emulator or simulator can be used to aid the programmer. To provide guidance and feedback to the programmer, the simulator needs to present traces, reports, and debugging information in a coherent and unambiguous format. Although these outputs contain a lot of detailed information relative to the logical and physical transactions about the execution, they are usually extremely large and hard to analyze. What is needed is an interface into the simulator that can help programmers and architects shift through this myriad of data. In this contribution, we describe the M2S-Visual trace-driven visualization tool, a complementary addition to Multi2sim (M2S) heterogeneous system simulator. M2S-Visual provides a graphical representation of parallel program execution on the simulator. M2S is an established simulator, designed with an emphasis on simulating the execution of parallel applications on graphics processing units, and provides a number of instrumentation capabilities that enable research in architecture exploration and application characterization. This visualization framework, added to Multi2sim, aims to complement (and potentially replace) text-based statistical profiling, enabling the user to better learn and understand each software transaction executed on the simulated hardware. While M2S supports emulation of both OpenCL and CUDA programs, our visualization framework presently only supports OpenCL execution. M2S supports execution on both CPUs (X86, ARM and MIPS) and GPUs (AMD Evergreen and Southern Islands, and NVIDIA Fermi and Kepler), but presently only supports detailed visualization on a multicore X86 CPU and AMD Evergreen and Southern Islands GPUs. Besides supporting OpenCL programming and debugging, an additional goal is to deliver a reliable product for teaching the details of parallel programming execution on heterogeneous systems. Given the move to many-core architectures in the industry, this toolset is timely and addresses a growing gap in our educational infrastructure. The tool is also designed to support the research community, providing analysis of performance bottlenecks of OpenCL programs. We also incorporated the option to produce visualization graphs which provide deeper insight into application performance and hardware resource utilization.
OpenCL应用程序在CPU-GPU系统上执行的可视化
评估并行和异构程序和体系结构的性能可能具有挑战性。模拟器或模拟器可以用来帮助程序员。为了向程序员提供指导和反馈,模拟器需要以连贯和明确的格式呈现跟踪、报告和调试信息。尽管这些输出包含大量与执行的逻辑和物理事务相关的详细信息,但它们通常非常大,难以分析。我们需要的是一个进入模拟器的接口,它可以帮助程序员和架构师在这无数的数据之间转换。在这篇文章中,我们描述了M2S- visual跟踪驱动的可视化工具,它是对Multi2sim (M2S)异构系统模拟器的补充。M2S-Visual提供了模拟器上并行程序执行的图形表示。M2S是一个已建立的模拟器,其设计重点是模拟图形处理单元上并行应用程序的执行,并提供了许多仪器功能,可以用于架构探索和应用程序特性的研究。这个可视化框架添加到Multi2sim中,旨在补充(并可能取代)基于文本的统计分析,使用户能够更好地学习和理解在模拟硬件上执行的每个软件事务。虽然M2S同时支持OpenCL和CUDA程序的仿真,但我们的可视化框架目前只支持OpenCL的执行。M2S支持在CPU (X86、ARM和MIPS)和gpu (AMD Evergreen和Southern Islands,以及NVIDIA Fermi和Kepler)上执行,但目前只支持多核X86 CPU和AMD Evergreen和Southern Islands gpu上的详细可视化。除了支持OpenCL编程和调试之外,另一个目标是提供一个可靠的产品,用于教授异构系统上并行编程执行的细节。考虑到行业中向多核心架构的转变,该工具集是及时的,并解决了我们教育基础设施中日益增长的差距。该工具还旨在支持研究社区,提供对OpenCL程序的性能瓶颈的分析。我们还添加了生成可视化图形的选项,可以更深入地了解应用程序性能和硬件资源利用率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书