Synchronization-free multithreading architecture and application programming interface

Haitham Akkary, Sami Ramly, Karim Serhan
{"title":"Synchronization-free multithreading architecture and application programming interface","authors":"Haitham Akkary, Sami Ramly, Karim Serhan","doi":"10.1109/MELCON.2014.6820580","DOIUrl":null,"url":null,"abstract":"We present a multithreading architecture and application programming interface (API) for writing and executing synchronization-free shared-memory parallel applications. The API provides simple directives with which a programmer can specify parallel or mostly parallel threads in a C/C++ program. In case of inter-thread data dependences, the programmer simply declares these dependences instead of using synchronization directives that serialize the dependent threads execution. The hardware uses the dependences declared by the programmer to split the program execution into disjoint control and data threads that execute concurrently on multiple cooperating latency-tolerant out-of-order cores. We show that the new architecture with its API allows a programmer to parallelize code that is otherwise non-parallelizable with existing parallel programming APIs, such as OpenMP, thus providing better programmability and higher performance. We use as an example Viterbi algorithm code to explain the new architecture and its API and a multicore performance simulator to highlight its performance potential.","PeriodicalId":103316,"journal":{"name":"MELECON 2014 - 2014 17th IEEE Mediterranean Electrotechnical Conference","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-04-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"MELECON 2014 - 2014 17th IEEE Mediterranean Electrotechnical Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MELCON.2014.6820580","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We present a multithreading architecture and application programming interface (API) for writing and executing synchronization-free shared-memory parallel applications. The API provides simple directives with which a programmer can specify parallel or mostly parallel threads in a C/C++ program. In case of inter-thread data dependences, the programmer simply declares these dependences instead of using synchronization directives that serialize the dependent threads execution. The hardware uses the dependences declared by the programmer to split the program execution into disjoint control and data threads that execute concurrently on multiple cooperating latency-tolerant out-of-order cores. We show that the new architecture with its API allows a programmer to parallelize code that is otherwise non-parallelizable with existing parallel programming APIs, such as OpenMP, thus providing better programmability and higher performance. We use as an example Viterbi algorithm code to explain the new architecture and its API and a multicore performance simulator to highlight its performance potential.
无同步多线程架构和应用程序编程接口
我们提出了一个多线程架构和应用程序编程接口(API),用于编写和执行无同步的共享内存并行应用程序。API提供了简单的指令,程序员可以使用这些指令在C/ c++程序中指定并行或大部分并行线程。在线程间数据依赖的情况下,程序员只需声明这些依赖,而不是使用序列化依赖线程执行的同步指令。硬件使用程序员声明的依赖关系将程序执行拆分为不相交的控制线程和数据线程,这些线程在多个协作的容忍延迟的乱序内核上并发执行。我们展示了带有API的新架构允许程序员并行化现有并行编程API(如OpenMP)无法并行化的代码,从而提供更好的可编程性和更高的性能。我们将使用Viterbi算法代码作为示例来解释新架构及其API,并使用多核性能模拟器来突出其性能潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信