Low-Overhead Trace Collection and Profiling on GPU Compute Kernels

仿形(计算机编程) 计算机科学 并行计算 架空(工程) 跟踪(心理语言学) 计算科学 操作系统 哲学 语言学
作者
Sébastien Darche,Michel Dagenais
出处
期刊:ACM Transactions on Parallel Computing [Association for Computing Machinery]
卷期号:11 (2): 1-24 被引量:1
标识
DOI:10.1145/3649510
摘要

While GPUs can bring substantial speedup to compute-intensive tasks, their programming is notoriously hard. From their programming model, to microarchitectural particularities, the programmer may encounter many pitfalls which may hinder performance in obscure ways. Numerous performance analysis tools provide helpful data on the efficiency of the compute kernels, but few allow the programmer to efficiently gather runtime information directly on the device and pinpoint the sections to optimize. We propose in this article an instrumentation method to collect traces while executing the compute kernel, with a reduced overhead compared with other approaches, by exploiting the inherently parallel behavior of GPUs and compartmentalizing tracing phases. The reference implementation is freely available and induces an average overhead of 1.6 × on a popular scientific computing benchmark and 1.5 × over the kernel execution time. This represents an improvement of an order of magnitude compared with similar work, and proves useful for timing-guided optimizations. The tool generates insightful execution traces and timestamps which can be analyzed to better understand performance issues in the kernel.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
caicai完成签到,获得积分10
1秒前
Ayao完成签到,获得积分10
1秒前
MrCoolWu完成签到,获得积分10
1秒前
优雅莞完成签到,获得积分10
3秒前
541完成签到 ,获得积分10
4秒前
张sir完成签到,获得积分10
6秒前
heyseere完成签到,获得积分10
6秒前
甜蜜冷风完成签到,获得积分10
8秒前
kaiqiang完成签到,获得积分0
8秒前
Samsara完成签到 ,获得积分10
9秒前
丨墨月丨完成签到,获得积分10
9秒前
keeptg完成签到,获得积分10
11秒前
情怀应助光亮萤采纳,获得10
12秒前
梅特卡夫完成签到,获得积分10
12秒前
海底烤鱼饭完成签到,获得积分10
14秒前
微风不燥完成签到 ,获得积分10
14秒前
干酪蛋糕完成签到,获得积分10
15秒前
乌特拉完成签到 ,获得积分10
15秒前
缥缈云朵完成签到,获得积分10
15秒前
const完成签到,获得积分10
15秒前
管靖易完成签到 ,获得积分10
17秒前
11完成签到,获得积分10
17秒前
雨寒完成签到 ,获得积分10
18秒前
19秒前
严采波完成签到,获得积分10
19秒前
jessie完成签到,获得积分10
22秒前
幸福墨镜发布了新的文献求助30
22秒前
无语的孤丹完成签到,获得积分10
23秒前
隐形霸完成签到,获得积分10
23秒前
Jerry完成签到 ,获得积分10
24秒前
CipherSage应助Cxxxx采纳,获得10
24秒前
三清小爷完成签到,获得积分10
24秒前
缓慢仇天完成签到,获得积分10
25秒前
25秒前
minjeong完成签到,获得积分10
25秒前
BK_201完成签到,获得积分10
26秒前
DHMO完成签到,获得积分10
26秒前
lxhhh完成签到,获得积分10
26秒前
风信子完成签到,获得积分0
26秒前
abiorz完成签到,获得积分0
27秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Matrix Methods in Data Mining and Pattern Recognition 510
Social Skills Improvement System-Rating Scales--Chinese Version 500
Dynamische Polarisation von H-1 und B-11 in (CH-3)-3NBH-3 500
CLSI M07 2024 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7247843
求助须知:如何正确求助?哪些是违规求助? 8870776
关于积分的说明 18712651
捐赠科研通 6926613
什么是DOI,文献DOI怎么找? 3198044
关于科研通互助平台的介绍 2373825
邀请新用户注册赠送积分活动 2172908