Skip to main content

COCOSSim: A Cycle-Accurate Simulator for Heterogeneous Systolic Array Architectures

Publication ,  Conference
Choudhary, M; Kjellqvist, C; Ma, J; Wills, LW
Published in: IEEE International Symposium on Performance Analysis of Systems and Software Ispass
January 1, 2025

Performance modeling is an essential tool for enabling cost-effective and efficient exploration of architectural and microarchitectural design decisions for hardware development. However, existing simulators face limitations in architectural flexibility, memory hierarchy modeling, and support for modern accelerators that cater to the computational demands of contemporary machine learning models, where non-linear operations like softmax and other vectorized activations have become increasingly important. To address these gaps, we present COCOSSim, a cycleaccurate performance simulator designed for evaluating architectural and microarchitectural modifications in heterogeneous systolic array-based accelerators. COCOSSim supports a wide range of neural network inference workloads, integrating systolic arrays with vector units for non-linear operations and DRAMSim3 for memory modeling. By offering a PyTorch frontend for seamless model integration, flexibility in scheduling strategies, and the ability to make architectural and microarchitectural modifications, COCOSSim enables detailed performance analysis and design exploration. When validated against the Google TPU v3, COCOSSim achieves an average error rate of 13 %. Additionally, COCOSSim is highly scalable and offers simulation speeds an order of magnitude faster than prior work while providing significantly greater flexibility and enhanced modeling capabilities. We present two case studies demonstrating how COCOSSim can be used to evaluate architectural modifications to modern heterogeneous accelerators: model parallelism and operation fusion.

Duke Scholars

Published In

IEEE International Symposium on Performance Analysis of Systems and Software Ispass

DOI

EISSN

2766-0486

ISSN

2994-9513

Publication Date

January 1, 2025

Issue

2025

Start / End Page

174 / 185
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Choudhary, M., Kjellqvist, C., Ma, J., & Wills, L. W. (2025). COCOSSim: A Cycle-Accurate Simulator for Heterogeneous Systolic Array Architectures. In IEEE International Symposium on Performance Analysis of Systems and Software Ispass (pp. 174–185). https://doi.org/10.1109/ISPASS64960.2025.00025
Choudhary, M., C. Kjellqvist, J. Ma, and L. W. Wills. “COCOSSim: A Cycle-Accurate Simulator for Heterogeneous Systolic Array Architectures.” In IEEE International Symposium on Performance Analysis of Systems and Software Ispass, 174–85, 2025. https://doi.org/10.1109/ISPASS64960.2025.00025.
Choudhary M, Kjellqvist C, Ma J, Wills LW. COCOSSim: A Cycle-Accurate Simulator for Heterogeneous Systolic Array Architectures. In: IEEE International Symposium on Performance Analysis of Systems and Software Ispass. 2025. p. 174–85.
Choudhary, M., et al. “COCOSSim: A Cycle-Accurate Simulator for Heterogeneous Systolic Array Architectures.” IEEE International Symposium on Performance Analysis of Systems and Software Ispass, no. 2025, 2025, pp. 174–85. Scopus, doi:10.1109/ISPASS64960.2025.00025.
Choudhary M, Kjellqvist C, Ma J, Wills LW. COCOSSim: A Cycle-Accurate Simulator for Heterogeneous Systolic Array Architectures. IEEE International Symposium on Performance Analysis of Systems and Software Ispass. 2025. p. 174–185.

Published In

IEEE International Symposium on Performance Analysis of Systems and Software Ispass

DOI

EISSN

2766-0486

ISSN

2994-9513

Publication Date

January 1, 2025

Issue

2025

Start / End Page

174 / 185