skip to main content
10.1145/2442829.2442845acmotherconferencesArticle/Chapter ViewAbstractPublication PagesissacConference Proceedingsconference-collections
research-article

Parallel sparse polynomial multiplication on modern hardware architectures

Authors Info & Claims
Published:22 July 2012Publication History

ABSTRACT

We present a high performance algorithm for the parallel multiplication of sparse multivariate polynomials on modern computer architectures. The algorithm is built on three main concepts: a cache-friendly hash table implementation for the storage of polynomial terms in distributed form, a statistical method for the estimation of the size of the multiplication result, and the use of Kronecker substitution as a homomorphic hash function. The algorithm achieves high performance by promoting data access patterns that favour temporal and spatial locality of reference. We present benchmarks comparing our algorithm to routines of other computer algebra systems, both in sequential and parallel mode.

References

  1. F. Biscani. Design and implementation of a modern algebraic manipulator for Celestial Mechanics. PhD thesis, Centro Interdipartimentale Studi e Attività Spaziali, Università degli Studi di Padova, 2008.Google ScholarGoogle Scholar
  2. W. Bosma, J. Cannon, and C. Playoust. The MAGMA algebra system I: the user language. Journal of Symbolic Computation, 24(3-4):235--265, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. M. Chapront-Touzé and J. Chapront. ELP2000-85: a semianalytical lunar ephemeris adequate for historical times. Astronomy and Astrophysics, 190:342--352, January 1988.Google ScholarGoogle Scholar
  4. P. J. Denning. The locality principle. Commun. ACM, 48:19--24, July 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. R. Fateman. Comparing the speed of programs for sparse polynomial multiplication. ACM SIGSAM Bulletin, 37:4--15, March 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. A. Fog. Lists of instruction latencies, throughputs and micro-operation breakdowns for Intel, AMD and VIA CPUs. http://www.agner.org/optimize/instruction_tables.pdf, 2011.Google ScholarGoogle Scholar
  7. M. Gastineau. Parallel operations of sparse polynomials on multicores: I. multiplication and poisson bracket. In Proceedings of the 4th International Workshop on Parallel and Symbolic Computation, PASCO '10, pages 44--52, New York, NY, USA, 2010. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. M. Gastineau. TRIP benchmarks. http://www.imcce.fr/Equipes/ASD/trip/features.php, Jan. 2012.Google ScholarGoogle Scholar
  9. T. Granlund. GNU Multiple Precision Arithmetic Library. http://gmplib.org, 2011.Google ScholarGoogle Scholar
  10. ISO. ISO/IEC 14882:2011 Information technology --- Programming languages --- C++. International Organization for Standardization, Geneva, Switzerland, Feb. 2012.Google ScholarGoogle Scholar
  11. A. Karatsuba and Y. Ofman. Multiplication of many-digital numbers by automatic computers. Translation in Physics-Doklady, 7:595--596, 1963.Google ScholarGoogle Scholar
  12. D. E. Knuth. The Art of Computer Programming, volume 3: Sorting and Searching. Addison-Wesley, second edition, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. L. Kronecker. Grundzüge einer arithmetischen Theorie der algebraischen Grössen. Journal Für die reine und angewandte Mathematik, 92:1--122, 1882.Google ScholarGoogle Scholar
  14. E. D. Kuznetsov and K. V. Kholshevnikov. Expansion of the Hamiltonian of the Two-Planetary Problem into the Poisson Series in All Elements: Application of the Poisson Series Processor. Solar System Research, 38:147--154, March 2004.Google ScholarGoogle Scholar
  15. M. B. Monagan and R. Pearce. Parallel sparse polynomial multiplication using heaps. In J. Johnson, H. Park, and E. Kaltofen, editors, 2009 International symposium on Symbolic and algebraic computation - ISSAC '09, pages 263--270, Seoul (Republic of Korea), 2009. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. Morbidelli. Modern Celestial Mechanics: aspects of Solar System dynamics. Number 5 in Advances in Astronomy and Astrophysics. Taylor & Francis, London, first edition, 2002.Google ScholarGoogle Scholar
  17. B. Parisse. Giac/Xcas, a free computer algebra system. http://www-fourier.ujf-grenoble.fr/~parisse/giac.html, Jan. 2012.Google ScholarGoogle Scholar
  18. J. F. San-Juan and A. Abad. Algebraic and symbolic manipulation of Poisson series. Journal of Symbolic Computation, 32:565--572, September 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. M. Sansottera, U. Locatelli, and A. Giorgilli. A semi-analytic algorithm for constructing lower dimensional elliptic tori in planetary systems. Celestial Mechanics and Dynamical Astronomy, 111:337--361, Nov. 2011.Google ScholarGoogle ScholarCross RefCross Ref
  20. A. Schönhage and V. Strassen. Schnelle Multiplikation großer Zahlen. Computing, 7(3):281--292, Sept. 1971.Google ScholarGoogle Scholar

Index Terms

  1. Parallel sparse polynomial multiplication on modern hardware architectures

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          ISSAC '12: Proceedings of the 37th International Symposium on Symbolic and Algebraic Computation
          July 2012
          390 pages
          ISBN:9781450312691
          DOI:10.1145/2442829

          Copyright © 2012 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 22 July 2012

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          ISSAC '12 Paper Acceptance Rate46of86submissions,53%Overall Acceptance Rate395of838submissions,47%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader