Abstract
An approach allowing us to improve the locality of RNA Secondary Structure Prediction code is proposed. We discuss the application of this technique to automatic loop nest tiling for the Nussinov algorithm. The approach requires an exact representation of dependences in the form of tuple relations and calculating the transitive closure of dependence graphs. First, to improve code locality, 3-d rectangular tiles are formed within the 3-d iteration space of the Nussinov loop nest. Then tiles are corrected to establish code validity by means of applying the exact transitive closure of a dependence graph. The approach has been implemented as a part of the polyhedral TRACO compiler. The experimental results presents the speed-up factor of optimized code. Related work and future tasks are outlined.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
References
Almeida, F., Andonov, R., Gonzalez, D., Moreno, L.M., Poirriez, V., Rodriguez, C.: Optimal tiling for the RNA base pairing problem. In: Proceedings of the Fourteenth Annual ACM Symposium on Parallel Algorithms and Architectures, SPAA 2002, pp. 173–182. ACM, New York (2002)
Bielecki, W., Kraska, K., Klimek, T.: Using basis dependence distance vectors in the modified Floyd-Warshall algorithm. J. Comb. Optim. 30(2), 253–275 (2015)
Bielecki, W., Palkowski, M.: Tiling arbitrarily nested loops by means of the transitive closure of dependence graphs. Appl. Math. Comput. Sci. 26(4), 919–939 (2016)
Bondhugula, U., Hartono, A., Ramanujam, J., Sadayappan, P.: A practical automatic polyhedral parallelizer and locality optimizer. SIGPLAN Not. 43(6), 101–113 (2008)
Griebl, M.: Automatic parallelization of loop programs for distributed memory architectures (2004)
Jacob, A.C., Buhler, J.D., Chamberlain, R.D.: Rapid RNA folding: analysis and acceleration of the Zuker recurrence. In: 2010 18th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), pp. 87–94 (2010)
Kelly, W., Maslov, V., Pugh, W., Rosser, E., Shpeisman, T., Wonnacott, D.: The omega library interface guide. Technical report, College Park, MD, USA (1995)
Liu, L., Wang, M., Jiang, J., Li, R., Yang, G.: Efficient nonserial polyadic dynamic programming on the cell processor. In: 25th IEEE International Symposium on Parallel and Distributed Processing, IPDPS 2011, Workshop Proceedings, Anchorage, Alaska, USA, 16–20 May 2011, pp. 460–471 (2011)
Mullapudi, R.T., Bondhugula, U.: Tiling for dynamic scheduling. In: Rajopadhye, S., Verdoolaege, S. (eds.) Proceedings of the 4th International Workshop on Polyhedral Compilation Techniques, Austria, Vienna, January 2014
Palkowski, M.: Finding free schedules for RNA secondary structure prediction. In: Rutkowski, L., Korytkowski, M., Scherer, R., Tadeusiewicz, R., Zadeh, L.A., Zurada, J.M. (eds.) ICAISC 2016. LNCS (LNAI), vol. 9693, pp. 179–188. Springer, Cham (2016). doi:10.1007/978-3-319-39384-1_16
Pugh, W., Wonnacott, D.: An exact method for analysis of value-based array data dependences. In: Banerjee, U., Gelernter, D., Nicolau, A., Padua, D. (eds.) LCPC 1993. LNCS, vol. 768, pp. 546–566. Springer, Heidelberg (1994). doi:10.1007/3-540-57659-2_31
de Melo, A.C.: The new linux perf tools. Linux Kongress, Georg Simon Ohm University Nuremberg/Germany. Technical report (2010)
Tan, G., Feng, S., Sun, N.: Locality and parallelism optimization for dynamic programming algorithm in bioinformatics. In: 2006 Proceedings of the ACM/IEEE Conference on SC, p. 41 (2006)
Verdoolaege, S.: Integer set library - manual. Technical report (2011). www.kotnet.org/skimo//isl/manual.pdf
Wonnacott, D., Jin, T., Lake, A.: Automatic tiling of “mostly-tileable” loop nests. In: 5th International Workshop on Polyhedral Compilation Techniques, IMPACT 2015, Amsterdam, The Netherlands (2015)
Xue, J.: Loop Tiling for Parallelism. Kluwer Academic Publishers, Norwell (2000)
Acknowledgments
Thanks to the Miclab Team (miclab.pl) from the Technical University of Czestochowa (Poland) that provided access to high performance multi-core machines for the experimental study presented in this paper.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Palkowski, M., Bielecki, W., Skotnicki, P. (2017). Improving Data Locality of RNA Secondary Structure Prediction Code. In: Rutkowski, L., Korytkowski, M., Scherer, R., Tadeusiewicz, R., Zadeh, L., Zurada, J. (eds) Artificial Intelligence and Soft Computing. ICAISC 2017. Lecture Notes in Computer Science(), vol 10245. Springer, Cham. https://doi.org/10.1007/978-3-319-59063-9_62
Download citation
DOI: https://doi.org/10.1007/978-3-319-59063-9_62
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-59062-2
Online ISBN: 978-3-319-59063-9
eBook Packages: Computer ScienceComputer Science (R0)