1 research outputs found

    A Linear Algebraic View of Loop Transformations and Their Interaction

    No full text
    Although optimizing transformations have been studied for over two decades, the interactions between them is not well understood. This is particularly important for the success of parallelizing compilers. In order to deal with interactions, we view loop transformations as multiplication by a suitable matrix. The transformations considered are loop interchange, permutation, reversal, hyperplane (skewing), tiling and concurrentization. Since these transformations are realized as matrix products, this is easy to implement in a compiler. We show an example where loop interchange by itself is illegal but becomes legal when considered after loop reversal. We show that unimodular transformations are not sufficient for minimizing communication volume arising from inter-tile communication in the case of tiling. We present several additional examples of the use of this approach
    corecore