Yoshiki Kawanishi, Patrick Finnerty, Tomio Kamada, C. Ohta
{"title":"Distributed Cell Set : A Library for Space-Dependent Communication/Computation Overlap on Manycore Cluster","authors":"Yoshiki Kawanishi, Patrick Finnerty, Tomio Kamada, C. Ohta","doi":"10.1145/3582514.3582520","DOIUrl":null,"url":null,"abstract":"The increase in the number of cores available in modern processors makes it important for implementations to maximize their use within a node by overlapping communication and computation. However, when the dependencies between communication and computation are complex and evolve over the course of the execution, their implementation becomes tedious and may lead to bugs. In this paper, we focus on spatial simulation where elements move over time due to interactions with other surrounding elements. We propose a Distributed Cell Set Library that manages the distribution of the simulation space using unit areas (cell units). We make it possible to manage the granularity with which cell communication may overlap with computation, and for multithreaded computation. In addition, we make it possible to describe the relationships between inter-node communication and the pending computation in cell units. For evaluation, we introduce the implementation of a two-dimensional molecular dynamics simulation using our library. We show that using our computation and communication overlapping method, the delays to reach global synchronization that are necessary in the original implementation can be avoided.","PeriodicalId":423464,"journal":{"name":"Proceedings of the 14th International Workshop on Programming Models and Applications for Multicores and Manycores","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 14th International Workshop on Programming Models and Applications for Multicores and Manycores","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3582514.3582520","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The increase in the number of cores available in modern processors makes it important for implementations to maximize their use within a node by overlapping communication and computation. However, when the dependencies between communication and computation are complex and evolve over the course of the execution, their implementation becomes tedious and may lead to bugs. In this paper, we focus on spatial simulation where elements move over time due to interactions with other surrounding elements. We propose a Distributed Cell Set Library that manages the distribution of the simulation space using unit areas (cell units). We make it possible to manage the granularity with which cell communication may overlap with computation, and for multithreaded computation. In addition, we make it possible to describe the relationships between inter-node communication and the pending computation in cell units. For evaluation, we introduce the implementation of a two-dimensional molecular dynamics simulation using our library. We show that using our computation and communication overlapping method, the delays to reach global synchronization that are necessary in the original implementation can be avoided.