Go's Concurrency Constructs on the SCC
Abstract
We present an implementation of goroutines and channels on the SCC. Goroutines and channels are the building blocks for writing concurrent programs in the Go programming language. Both Go and the SCC share the same basic idea--the use of messages for communication and synchronization. Our implementation of goroutines on top of tasks reuses existing runtime support for scheduling and load balancing. Channels, which permit goroutines to communicate by sending and receiving messages, can be implemented efficiently using the on-die message passing buffers. We demonstrate the use of goroutines and channels with a parallel genetic algorithm that can utilize all cores of the SCC.
Fichier principal
MARC6_Gos-Concurrency-Constructs-on-the-SCC.pdf (454.24 Ko)
Télécharger le fichier
Origin | Explicit agreement for this submission |
---|