Programming FPGAs for Economics: An Introduction to Electrical Engineering Economics
Bhagath Cheela,
Andre DeHon,
Fernández-Villaverde, Jesús and
Alessandro Peri
Authors registered in the RePEc Author Service: Jesus Fernandez-Villaverde
No 17183, CEPR Discussion Papers from C.E.P.R. Discussion Papers
Abstract:
We show how to use field-programmable gate arrays (FPGAs) and their associated high-level synthesis (HLS) compilers to solve heterogeneous agent models with incomplete markets and aggregate uncertainty (Krusell and Smith, 1998). We document that the acceleration delivered by one single FPGA is comparable to that provided by using 74 CPU cores in a conventional cluster. We describe how to achieve multiple acceleration opportunities -pipeline, data-level parallelism, and data precision- with minimal modification of the C code written for a traditional sequential processor, which we then deploy on FPGAs easily available at Amazon Web Services. We quantify the speedup and cost of these accelerations. Our paper is the first step toward a new field, electrical engineering economics, focused on designing computational accelerators for economics to tackle challenging quantitative models.
Keywords: Fpga acceleration; Fpga hls compilers; Heterogeneous agents; Electrical engineering economics (search for similar items in EconPapers)
JEL-codes: C6 C63 C88 D52 (search for similar items in EconPapers)
Date: 2022-04
References: Add references at CitEc
Citations:
Downloads: (external link)
https://cepr.org/publications/DP17183 (application/pdf)
CEPR Discussion Papers are free to download for our researchers, subscribers and members. If you fall into one of these categories but have trouble downloading our papers, please contact us at subscribers@cepr.org
Related works:
Working Paper: Programming FPGAs for Economics: An Introduction to Electrical Engineering Economics (2022) 
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:cpr:ceprdp:17183
Ordering information: This working paper can be ordered from
https://cepr.org/publications/DP17183
Access Statistics for this paper
More papers in CEPR Discussion Papers from C.E.P.R. Discussion Papers Centre for Economic Policy Research, 33 Great Sutton Street, London EC1V 0DX.
Bibliographic data for series maintained by ().