Tutorial on the Akita Simulator Framework and MGPUSim

Tutorial on the Akita Simulator Framework and MGPUSim

Yifan Sun, Trinayan Baruah, Shi Dong, David Kaeli

Introduction

Akita is a computer architecture simulation framework that aims at fast chip design prototyping. MGPUSim is an AMD GCN3 GPU simulator based-on the Akita framework. They are both developed with the Go programming language and are both open-sourced under the MIT license.

Objective

The goals of this tutorial include introducing the recently published computer architecture simulator framework, Akita, and introducing the multi-GPU simulator that is implemented with Akita, MGPUSim. We will engage the audience to let them work with the simulator. We will first give a brief tutorial of the Go programming language. The rest of the tutorial will be divided into 2 parts. First, we will analyze the general requirements of computer architecture simulators, followed by an introduction to Akita and the discussion of how simulators developed using Akita can easily satisfy the simulator requirements. We emphasize how programmers can write very simple simulator code, while the simulation engine can run the simulation on parallel hardware. Second, as a particular use case of Akita, we introduce MGPUSim, a multi-GPU simulator that simulates AMD-GCN3-based GPUs. We will introduce how MGPUSim models GPU architecture. We will highlight novel features in MPGPUSim, including the thread-dispatching process and the cache pipelines. By the end of the tutorial, participants will be able to use Akita and MGPUSim to support their research. The takeaways for participants will include:

Schedule (Tentative)

8:30 - 8:45
Introduction to Akita and MGPUSim.
8:45 - 9:30
A brief introduction of the Go programming language.
9:30 - 10:00
The Akita simulator framework design philosophy.
10:00 - 10:30
Coffee break.
10:30 - 11:00
The Akita simulator framework design and hands-on demo.
11:00 - 11:20
MGPUSim: GPU modeling.
11:20 - 11:50
Hands-on demo: preparing MGPUSim experiments for your research.
11:50 - 12:00
Conclusions and future work.

Useful files to download

Recommended Reading before the Tutorial