Worksharing Tasks: An Efficient Way to Exploit Irregular and Fine-Grained Loop Parallelism

Marcos Maroñas, Kevin Sala, Sergi Mateo, E. Ayguadé, Vicencc Beltran
{"title":"Worksharing Tasks: An Efficient Way to Exploit Irregular and Fine-Grained Loop Parallelism","authors":"Marcos Maroñas, Kevin Sala, Sergi Mateo, E. Ayguadé, Vicencc Beltran","doi":"10.1109/HiPC.2019.00053","DOIUrl":null,"url":null,"abstract":"Shared memory programming models usually provide worksharing and task constructs. The former relies on the efficient fork-join execution model to exploit structured parallelism; while the latter relies on fine-grained synchronization among tasks and a flexible data-flow execution model to exploit dynamic, irregular, and nested parallelism. On applications that show both structured and unstructured parallelism, both worksharing and task constructs can be combined. However, it is difficult to mix both execution models without penalizing the data-flow execution model. Hence, on many applications structured parallelism is also exploited using tasks to leverage the full benefits of a pure data-flow execution model. However, task creation and management might introduce a non-negligible overhead that prevents the efficient exploitation of fine-grained structured parallelism, especially on many-core processors. In this work, we propose worksharing tasks. These are tasks that internally leverage worksharing techniques to exploit fine-grained structured loop-based parallelism. The evaluation shows promising results on several benchmarks and platforms.","PeriodicalId":323735,"journal":{"name":"2019 IEEE 26th International Conference on High Performance Computing, Data, and Analytics (HiPC)","volume":"54 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 26th International Conference on High Performance Computing, Data, and Analytics (HiPC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HiPC.2019.00053","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Shared memory programming models usually provide worksharing and task constructs. The former relies on the efficient fork-join execution model to exploit structured parallelism; while the latter relies on fine-grained synchronization among tasks and a flexible data-flow execution model to exploit dynamic, irregular, and nested parallelism. On applications that show both structured and unstructured parallelism, both worksharing and task constructs can be combined. However, it is difficult to mix both execution models without penalizing the data-flow execution model. Hence, on many applications structured parallelism is also exploited using tasks to leverage the full benefits of a pure data-flow execution model. However, task creation and management might introduce a non-negligible overhead that prevents the efficient exploitation of fine-grained structured parallelism, especially on many-core processors. In this work, we propose worksharing tasks. These are tasks that internally leverage worksharing techniques to exploit fine-grained structured loop-based parallelism. The evaluation shows promising results on several benchmarks and platforms.
工作共享任务:利用不规则和细粒度循环并行性的有效方法
共享内存编程模型通常提供工作共享和任务结构。前者依赖于高效的fork-join执行模型来利用结构化并行;而后者依赖于任务之间的细粒度同步和灵活的数据流执行模型来利用动态的、不规则的和嵌套的并行性。在显示结构化和非结构化并行性的应用程序上,工作共享和任务结构都可以组合起来。然而,很难在不影响数据流执行模型的情况下混合这两种执行模型。因此,在许多应用程序中,还使用任务利用结构化并行性来充分利用纯数据流执行模型的优势。然而,任务创建和管理可能会带来不可忽略的开销,从而妨碍对细粒度结构化并行性的有效利用,特别是在多核处理器上。在这项工作中,我们提出了工作共享任务。这些任务在内部利用工作共享技术来利用细粒度结构化的基于循环的并行性。该评估在几个基准测试和平台上显示了令人满意的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书