A Compiler Infrastructure for Accelerator Generators


DSL-Based Hardware Generation

At PLDI 2023 in Orlando

When: Sunday June 18, 2023; morning session
Where: Magnolia 9, with a virtual option (see below)

In the last four decades, the easiest way to improve performance of programs has been to simply wait; processor and process scaling took care of the rest. Sadly, Moore’s law is over, there are no free lunches left, and everyone at the table is desperate. The only way forward is to build specialized hardware accelerators, that can be customized to the needs of the application.

So how, then, does an enterprising performance hound like yourself build an accelerator? Teach yourself a hardware design language? Stare at inscrutable errors for weeks? Just convert everything into a matrix multiply? No, thank you.

Welcome to the DSL-based Hardware Generation tutorial at FCRC 2023. We’ll show you how to stay within the comforts of your domain specific language (DSL) and turn programs written in your language into accelerated hardware designs. Your performance graphs will be more up and more to the right than ever before!

Logistics

There are three primary ways to attend:

Expectations

We’re big believers in learning by doing, so we’ll be teaching you how to write your own Calyx frontend from scratch. Please bring your laptops and expect to be programming for most of the tutorial.

We’ll provide a docker container with all the tools needed to make Calyx program compile and run locally. If you know you’ll be attending the tutorial for sure, please install them beforehand to save time.

Performance Competition: Towards the end of the tutorial, we’ll be running a performance competition, so you can show off your new skills with Calyx. There is a small prize as well!

Schedule

Here is the tentative schedule for the tutorial. All times are in US Eastern Time, GMT-4. For the most part, we’ll be helping you write your own Calyx frontend and have short, interspersed talks. If you’d like to follow along at your own pace, here are the slides we’ll be using.

TimeTopic
9-9:20amIntroduction to Calyx, and setting up
9:20-9:55amYour first Calyx program
9:55-10amfud, the hardware tool composer
10-10:10amMrXL, a map-reduce frontend
10:10-10:50amImplement a map operation for MrXL
10:50-10:55amCider, the Calyx interactive debugger
10:55-11amPollen, a pangenome analysis DSL
11-11:20amBreak
11:20am-12:20pmContest: extensions to MrXL!
12:20-12:30pmAward ceremony and closing remarks