Back to Search
Start Over
Cache Abstraction for Data Race Detection in Heterogeneous Systems with Non-coherent Accelerators.
- Source :
- ACM Transactions on Embedded Computing Systems; Jan2023, Vol. 22 Issue 1, p1-25, 25p
- Publication Year :
- 2023
-
Abstract
- Embedded systems are becoming increasingly complex and heterogeneous, featuring multiple processor cores (which might themselves be heterogeneous) as well as specialized hardware accelerators, all accessing shared memory. Many accelerators are non-coherent (i.e., do not support hardware cache coherence) because it reduces hardware complexity, cost, and power consumption, while potentially offering superior performance. However, the disadvantage of non-coherence is that the software must explicitly synchronize between accelerators and processors, and this synchronization is notoriously error-prone. We propose an analysis technique to find data races in software for heterogeneous systems that include non-coherent accelerators. Our approach builds on classical results for data race detection, but the challenge turns out to be analyzing cache behavior rather than the behavior of the non-coherent accelerators. Accordingly, our central contribution is a novel, sound (data-race-preserving) abstraction of cache behavior. We prove our abstraction sound, and then to demonstrate the precision of our abstraction, we implement it in a simple dynamic race detector for a system with a processor and a massively parallel accelerator provided by a commercial FPGA-based accelerator vendor. On eleven software examples provided by the vendor, the tool had zero false positives and was able to detect previously unknown data races in two of the 11 examples. [ABSTRACT FROM AUTHOR]
- Subjects :
- CACHE memory
SYSTEMS software
Subjects
Details
- Language :
- English
- ISSN :
- 15399087
- Volume :
- 22
- Issue :
- 1
- Database :
- Complementary Index
- Journal :
- ACM Transactions on Embedded Computing Systems
- Publication Type :
- Academic Journal
- Accession number :
- 161193422
- Full Text :
- https://doi.org/10.1145/3535457