{"title":"数据流中间语言中无竞争的可变引用的分数权限","authors":"M. Cimini, Jeremy G. Siek","doi":"10.1145/2957319.2957373","DOIUrl":null,"url":null,"abstract":"ParalleX is an execution model tailored to exascale computing. To this aim, it employs a global shared memory and supports multi-level parallelism. In systems that mix parallelism and mutable shared memory, the definition of a memory model becomes challenging. Following the advice of Adve and Boehm (2010), we balance efficiency and simplicity by going the route of statically enforcing data-race freedom (DRF), which makes sequential consistency efficient to implement on weak memory models. In this paper, we report on a type system that ensures DRF for the core of the dataflow intermediate language used within ParalleX. The type system adapts the notion of fractional permissions to the dataflow context and provides a novel treatment of mutable references, using a combination of affine variables and fractional sums. We give an overview of the type system and demonstrate its use in some examples.","PeriodicalId":316230,"journal":{"name":"First Workshop on Programming Models and Languages for Distributed Computing","volume":"65 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-07-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Fractional Permissions for Race-Free Mutable References in a Dataflow Intermediate Language\",\"authors\":\"M. Cimini, Jeremy G. Siek\",\"doi\":\"10.1145/2957319.2957373\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"ParalleX is an execution model tailored to exascale computing. To this aim, it employs a global shared memory and supports multi-level parallelism. In systems that mix parallelism and mutable shared memory, the definition of a memory model becomes challenging. Following the advice of Adve and Boehm (2010), we balance efficiency and simplicity by going the route of statically enforcing data-race freedom (DRF), which makes sequential consistency efficient to implement on weak memory models. In this paper, we report on a type system that ensures DRF for the core of the dataflow intermediate language used within ParalleX. The type system adapts the notion of fractional permissions to the dataflow context and provides a novel treatment of mutable references, using a combination of affine variables and fractional sums. We give an overview of the type system and demonstrate its use in some examples.\",\"PeriodicalId\":316230,\"journal\":{\"name\":\"First Workshop on Programming Models and Languages for Distributed Computing\",\"volume\":\"65 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-07-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"First Workshop on Programming Models and Languages for Distributed Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2957319.2957373\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"First Workshop on Programming Models and Languages for Distributed Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2957319.2957373","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Fractional Permissions for Race-Free Mutable References in a Dataflow Intermediate Language
ParalleX is an execution model tailored to exascale computing. To this aim, it employs a global shared memory and supports multi-level parallelism. In systems that mix parallelism and mutable shared memory, the definition of a memory model becomes challenging. Following the advice of Adve and Boehm (2010), we balance efficiency and simplicity by going the route of statically enforcing data-race freedom (DRF), which makes sequential consistency efficient to implement on weak memory models. In this paper, we report on a type system that ensures DRF for the core of the dataflow intermediate language used within ParalleX. The type system adapts the notion of fractional permissions to the dataflow context and provides a novel treatment of mutable references, using a combination of affine variables and fractional sums. We give an overview of the type system and demonstrate its use in some examples.