Bypass-Enabled Thread Compaction for Divergent Control Flow in Graphics Processing Units

来源 :上海交通大学学报(英文版) | 被引量 : 0次 | 上传用户:beckham621
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Graphics processing units(GPUs)employ the single instruction multiple data(SIMD)hardware to run threads in parallel and allow each thread to maintain an arbitrary control flow.Threads running concurrently within a warp may jump to different paths after conditional branches.Such divergent control flow makes some lanes idle and hence reduces the SIMD utilization of GPUs.To alleviate the waste of SIMD lanes,threads from multiple warps can be collected together to improve the SIMD lane utilization by compacting threads into idle lanes.However,this mechanism induces extra barrier synchronizations since warps have to be stalled to wait for other warps for compactions,resulting in that no warps are scheduled in some cases.In this paper,we propose an approach to reduce the overhead of barrier synchronizations induced by compactions.In our approach,a compaction is bypassed by warps whose threads all jump to the same path after branches.Moreover,warps waiting for a compaction can also bypass this compaction when no warps are ready for issuing.In addition,a compaction is canceled if idle lanes can not be reduced via this compaction.The experimental results demonstrate that our approach provides an average improvement of 21%over the baseline GPU for applications with massive divergent branches,while recovering the performance loss induced by compactions by 13%on average for applications with many non-divergent control flows.
其他文献
The effects of different laying angles on impact resistance and damage types of woven carbon fibre-reinforced polymer(CFRP)laminates were studied.The drop hamme
现行中学语文教材,大多文质兼美,为我们展现了一个绚丽多姿的美的世界。内容涉及气象万千的自然景观、纷繁复杂的人类社会、气吞山河的英雄壮举、五彩缤纷的艺术领域、奥妙无
袁亚湘,数学家。中国科学院院士、中国科学院数学与系统科学研究院研究员。主要研究最优化计算方法。袁亚湘在信赖域法、拟牛顿法和非线性共轭梯度法三个方面取得了突出的贡
This was a conversation betweenmy daughter and her little one:“I’m notgoing to be a mum when I grow up,”the five-year-old announced.“Why This was a conver
当前语文素质教育的核心是教会学生学习.要“会学”,学生需要不断实践,因为“语文方面许多项目都要经过不断练习,锲而不舍,养成习惯,才能变成他们自己的东西”(叶圣陶语).所
《普通高中历史课程标准》要求通过普通高中历史课程的学习,教师要转变教学观念,运用多种教学手段,为学生的自主学习创造前提,充分发挥学生的主动性、积极性与参与性,培养学
一个社会发展程度愈高,所需的老师应愈多(这里当然是指高素质的老师)。试想一个老师带班四五十人,甚至六七十人,不要说搞差异群体的研究,他(她)的精力只可能兼顾到“大锅饭”
经济工作者或有志于从事经济工作的莘莘学子对收听收看财经新闻往往很感兴趣。然而对于外台的财经报道,尤其是股市行情报道,许多人听得很吃力,即使是外语水平较高者也常常觉
今年是本刊创始人之一、中国比较经济学的开拓者荣敬本研究员的80华诞。荣敬本研究员1933年出生于上海.中学毕业后。曾在上海市委党校学习,之后,在东北专修俄语。
By analyzing the gas expansion process from the upstream chamber via an orifice and a very rapid-opening ultra-high vacuum(UHV)gate valve to downstream one,the