EconPapers    
Economics at your fingertips  
 

Programming FPGAs for Economics: An Introduction to Electrical Engineering Economics

Bhagath Cheela, André DeHon, Jesus Fernandez-Villaverde and Alessandro Peri

No 29936, NBER Working Papers from National Bureau of Economic Research, Inc

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.

JEL-codes: C60 C63 C88 D52 (search for similar items in EconPapers)
Date: 2022-04
New Economics Papers: this item is included in nep-cmp
Note: EFG
References: Add references at CitEc
Citations: View citations in EconPapers (2)

Downloads: (external link)
http://www.nber.org/papers/w29936.pdf (application/pdf)

Related works:
Working Paper: Programming FPGAs for Economics: An Introduction to Electrical Engineering Economics (2022) Downloads
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:nbr:nberwo:29936

Ordering information: This working paper can be ordered from
http://www.nber.org/papers/w29936

Access Statistics for this paper

More papers in NBER Working Papers from National Bureau of Economic Research, Inc National Bureau of Economic Research, 1050 Massachusetts Avenue Cambridge, MA 02138, U.S.A.. Contact information at EDIRC.
Bibliographic data for series maintained by ().

 
Page updated 2025-03-22
Handle: RePEc:nbr:nberwo:29936