IDEAS home Printed from https://ideas.repec.org/a/ntu/ntumef/vol1-iss1-12-042.html
   My bibliography  Save this article

Cuda Based Computational Methods For Macroeconomic Forecasts

Author

Listed:
  • Bogdan OANCEA

    ("Nicolae Titulescu" University from Bucharest, Romania)

  • Tudorel ANDREI

    (The Bucharest Academy of Economic Studies, Romania)

  • Raluca DRAGOESCU

    ("Artifex" University, Bucharest, Romania)

Abstract

Parallel computing can offer an enormous advantage regarding the performance for very large applications in almost any field: economics, scientific computing, computer vision, databases, data mining. GPUs are high performance many-core processors that can obtain very high FLOP rates. Since the first idea of using GPU for general purpose computing, things have evolved and now there are several approaches to GPU programming: CUDA from NVIDIA and Stream from AMD. CUDA is now a popular programming model for general purpose computations on GPU for C/C++ programmers. In this paper we present an implementation of some iterative and direct linear systems solvers that use the CUDA programming model. Our CUDA library is used to solve macroeconometric models with forward-looking variables based on Newton method for nonlinear systems of equations. The most difficult step for Newton methods represents the resolution of a large linear system for each iteration. Our library implements LU factorization, Jacobi, Gauss-Seidel and non-stationary iterative methods (GMRES, BiCG, BiCGSTAB) using C-CUDA extension. We compare the performance of our CUDA implementation with classic programs written to be run on CPU. Our performance tests show speedups of approximately 80 times for single precision floating point and 40 times for double precision.

Suggested Citation

  • Bogdan OANCEA & Tudorel ANDREI & Raluca DRAGOESCU, 2012. "Cuda Based Computational Methods For Macroeconomic Forecasts," New Trends in Modelling and Economic Forecast (MEF 2011), ROMANIAN ACADEMY – INSTITUTE FOR ECONOMIC FORECASTING;"Nicolae Titulescu" University of Bucharest, Faculty of Economic Sciences, vol. 1(1), pages 42-53, January.
  • Handle: RePEc:ntu:ntumef:vol1-iss1-12-042
    as

    Download full text from publisher

    File URL: http://mef.univnt.ro/wp-content/uploads/MEF/2011/mef-01.04.pdf
    File Function: First version, 2012
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Fair, Ray C & Taylor, John B, 1983. "Solution and Maximum Likelihood Estimation of Dynamic Nonlinear Rational Expectations Models," Econometrica, Econometric Society, vol. 51(4), pages 1169-1185, July.
    2. Michael Creel & William Goffe, 2008. "Multi-core CPUs, Clusters, and Grid Computing: A Tutorial," Computational Economics, Springer;Society for Computational Economics, vol. 32(4), pages 353-382, November.
    3. Donald Coletti & Benjamin Hunt & David Rose & Robert Tetlow, 1996. "The Bank of Canada's New Quarterly Projection Model. Part 3 , the Dynamic Model : QPM," Technical Reports 75, Bank of Canada.
    4. Flint Brayton & Eileen Mauskopf & David L. Reifschneider & Peter A. Tinsley & John Williams, 1997. "The role of expectations in the FRB/US macroeconomic model," Federal Reserve Bulletin, Board of Governors of the Federal Reserve System (U.S.), vol. 83(Apr), pages 227-245, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Juillard, Michel & Laxton, Douglas & McAdam, Peter & Pioro, Hope, 1998. "An algorithm competition: First-order iterations versus Newton-based techniques," Journal of Economic Dynamics and Control, Elsevier, vol. 22(8-9), pages 1291-1318, August.
    2. Lars E.O. Svensson & Robert J. Tetlow, 2005. "Optimal Policy Projections," International Journal of Central Banking, International Journal of Central Banking, vol. 1(3), December.
    3. Shaun de Jager & Michael Johnston & Rudi Steinbach, 2015. "A Revised Quarterly Projection Model for South Africa," Working Papers 6839, South African Reserve Bank.
    4. Fujiwara, Ippei & Hara, Naoko & Hirose, Yasuo & Teranishi, Yuki, 2005. "The Japanese Economic Model (JEM)," Monetary and Economic Studies, Institute for Monetary and Economic Studies, Bank of Japan, vol. 23(2), pages 61-142, May.
    5. Willman, Alpo, 2003. "Consumption, habit persistence, imperfect information and the lifetime budget constraint," Working Paper Series 251, European Central Bank.
    6. Taylor, John B, 2000. "Alternative Views of the Monetary Transmission Mechanism: What Difference Do They Make for Monetary Policy?," Oxford Review of Economic Policy, Oxford University Press and Oxford Review of Economic Policy Limited, vol. 16(4), pages 60-73, Winter.
    7. Pierre Richard Agénor & Devrim Yilmaz, 2006. "The Tyranny of Rules: Fiscal Discipline, Productive Spending, and Growth," Economics Discussion Paper Series 0616, Economics, The University of Manchester.
    8. Paul D. McNelis, 2014. "Finding Stability in a Time of Crisis: Lessons of East Asia for Eastern Europe," Working Papers 052014, Hong Kong Institute for Monetary Research.
    9. Karadi, Peter & Nakov, Anton, 2021. "Effectiveness and addictiveness of quantitative easing," Journal of Monetary Economics, Elsevier, vol. 117(C), pages 1096-1117.
    10. Paul Gomme, 2020. "Labor Market and Fiscal Policy During and After the Coronavirus," Cahiers de recherche 12-2020, Centre interuniversitaire de recherche en économie quantitative, CIREQ.
    11. Hobijn, Bart & Nechio, Fernanda & Shapiro, Adam Hale, 2021. "Using Brexit to identify the nature of price rigidities," Journal of International Economics, Elsevier, vol. 130(C).
    12. Coenen, Gunter & Wieland, Volker, 2003. "The zero-interest-rate bound and the role of the exchange rate for monetary policy in Japan," Journal of Monetary Economics, Elsevier, vol. 50(5), pages 1071-1101, July.
    13. Burton, Diana M. & Love, H. Alan, 1996. "A Review of Alternative Expectations Regimes in Commodity Markets: Specification, Estimation, and Hypothesis Testing Using Structural Models," Agricultural and Resource Economics Review, Cambridge University Press, vol. 25(2), pages 213-231, October.
    14. S. Sirakaya & Stephen Turnovsky & M. Alemdar, 2006. "Feedback Approximation of the Stochastic Growth Model by Genetic Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 27(2), pages 185-206, May.
    15. S. Bogan Aruoba & Pablo Cuba-Borda & Kenji Higa-Flores & Frank Schorfheide & Sergio Villalvazo, 2021. "Piecewise-Linear Approximations and Filtering for DSGE Models with Occasionally Binding Constraints," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 41, pages 96-120, July.
    16. Corinne Houizot & Hélène Baudchon & Catherine Mathieu & Francisco Serranito, 2000. "Plus-values, consommation et épargne. Une estimation de l'effet richesse aux États- Unis et au Royaume- Uni," Revue de l'OFCE, Programme National Persée, vol. 73(1), pages 197-240.
    17. Vo Le & Kent Matthews & David Meenagh & Patrick Minford & Zhiguo Xiao, 2014. "Banking and the Macroeconomy in China: A Banking Crisis Deferred?," Open Economies Review, Springer, vol. 25(1), pages 123-161, February.
    18. Todd E. Clark & Michael W. McCracken, 2010. "Averaging forecasts from VARs with uncertain instabilities," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 25(1), pages 5-29, January.
    19. Eric Jondeau & Gregory Levieuge & Jean-Guillaume Sahuc & Gauthier Vermandel, 2022. "Environmental Subsidies to Mitigate Transition Risk," Swiss Finance Institute Research Paper Series 22-45, Swiss Finance Institute.
    20. Svensson, Lars E. O., 1999. "Inflation targeting as a monetary policy rule," Journal of Monetary Economics, Elsevier, vol. 43(3), pages 607-654, June.

    More about this item

    Keywords

    parallel algorithms; macroeconometric models; rational expectations models; linear algebra; Krylov techniques;
    All these keywords.

    JEL classification:

    • C01 - Mathematical and Quantitative Methods - - General - - - Econometrics
    • C02 - Mathematical and Quantitative Methods - - General - - - Mathematical Economics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ntu:ntumef:vol1-iss1-12-042. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Lucian Liviu ALBU (email available below). General contact details of provider: http://www.ipe.ro/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.