• DocumentCode
    2053011
  • Title

    Memory minimization for tensor contractions using integer linear programming

  • Author

    Allam, A. ; Ramanujam, J. ; Baumgartner, G. ; Sadayappan, P.

  • Author_Institution
    Dept. of Electr. & Comput. Eng., Louisiana State Univ.
  • fYear
    2006
  • fDate
    25-29 April 2006
  • Abstract
    This paper presents a technique for memory optimization for a class of computations that arises in the field of correlated electronic structure methods such as coupled cluster and configuration interaction methods in quantum chemistry. In this class of computations, loop computations perform a multi-dimensional sum of product of input arrays. There are many different ways to get the same final results that differ in the required number of arithmetic operations required. In addition, for a given number of arithmetic operations, different expressions of the loop have different memory requirements. Loop fusion is a plausible solution for reducing memory usage. By fusing loops between producer loop nest and consumer loop nest, the required storage of intermediate array is reduced by the range of the fused loop. Because resultant loops have to be legal after fusion, some loops can not be fused at the same time. In this paper, we have developed a novel integer linear programming (ILP) formulation that is shown to be highly effective on a number of test cases producing the optimal solutions using very small execution times. The main idea in the ILP formulation is the encoding of legality rules for loop fusion of a special class of loops using logical constraints over binary decision variables and a highly effective approximation of memory usage
  • Keywords
    computational complexity; integer programming; linear programming; memory architecture; minimisation; program control structures; tensors; arithmetic operation; binary decision variables; configuration interaction method; consumer loop nest; correlated electronic structure; coupled cluster; integer linear programming; logical constraints; loop computation; loop fusion; memory minimization; memory optimization; memory usage; producer loop nest; quantum chemistry; resultant loops; tensor contractions; Arithmetic; Chemistry; Encoding; Integer linear programming; Law; Legal factors; Optimization methods; Quantum computing; Tensile stress; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Processing Symposium, 2006. IPDPS 2006. 20th International
  • Conference_Location
    Rhodes Island
  • Print_ISBN
    1-4244-0054-6
  • Type

    conf

  • DOI
    10.1109/IPDPS.2006.1639717
  • Filename
    1639717