{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T22:01:30Z","timestamp":1789682490685,"version":"4.0.1"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2015,5,27]],"date-time":"2015-05-27T00:00:00Z","timestamp":1432684800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Archit. Code Optim."],"published-print":{"date-parts":[[2015,7,8]]},"abstract":"<jats:p>The Lattice-Boltzmann method (LBM), a promising new particle-based simulation technique for complex and multiscale fluid flows, has seen tremendous adoption in recent years in computational fluid dynamics. Even with a state-of-the-art LBM solver such as Palabos, a user has to still manually write the program using library-supplied primitives. We propose an automated code generator for a class of LBM computations with the objective to achieve high performance on modern architectures. Few studies have looked at time tiling for LBM codes. We exploit a key similarity between stencils and LBM to enable polyhedral optimizations and in turn time tiling for LBM. We also characterize the performance of LBM with the Roofline performance model. Experimental results for standard LBM simulations like Lid Driven Cavity, Flow Past Cylinder, and Poiseuille Flow show that our scheme consistently outperforms Palabos\u2014on average by up to 3\u00d7 while running on 16 cores of an Intel Xeon (Sandybridge). We also obtain an improvement of 2.47\u00d7 on the SPEC LBM benchmark.<\/jats:p>","DOI":"10.1145\/2739047","type":"journal-article","created":{"date-parts":[[2015,6,2]],"date-time":"2015-06-02T15:13:25Z","timestamp":1433258005000},"page":"1-23","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":14,"title":["An Optimizing Code Generator for a Class of Lattice-Boltzmann Computations"],"prefix":"10.1145","volume":"12","author":[{"given":"Irshad","family":"Pananilath","sequence":"first","affiliation":[{"name":"Indian Institute of Science, Bangalore, Karnataka, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Aravind","family":"Acharya","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, Karnataka, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vinay","family":"Vasista","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, Karnataka, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Uday","family":"Bondhugula","sequence":"additional","affiliation":[{"name":"Indian Institute of Science, Bangalore, Karnataka, India"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2015,5,27]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/2688500.2688512"},{"key":"e_1_2_2_2_1","first-page":"1","article-title":"Tiling stencil computations to maximize parallelism. Supercomputing (SC)","volume":"40","author":"Bandishti Vinayaka","year":"2012","unstructured":"Vinayaka Bandishti , Irshad Pananilath , and Uday Bondhugula . 2012 . Tiling stencil computations to maximize parallelism. Supercomputing (SC) . Article 40 , 40: 1 -- 40 :11. Vinayaka Bandishti, Irshad Pananilath, and Uday Bondhugula. 2012. Tiling stencil computations to maximize parallelism. Supercomputing (SC). Article 40, 40:1--40:11.","journal-title":"Article"},{"key":"e_1_2_2_3_1","volume-title":"Clan: The Chunky Loop Analyzer.","author":"Bastoul C\u00e9dric","year":"2008","unstructured":"C\u00e9dric Bastoul . 2008 . Clan: The Chunky Loop Analyzer. (2008). The Clan User Guide . C\u00e9dric Bastoul. 2008. Clan: The Chunky Loop Analyzer. (2008). The Clan User Guide."},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRev.94.511"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/2628071.2628106"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/1375581.1375595"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1146\/annurev.fluid.30.1.329"},{"key":"e_1_2_2_9_1","series-title":"Series A: Mathematical, Physical and Engineering Sciences 360, 1792","volume-title":"Multiple--relaxation--time lattice Boltzmann models in three dimensions. Philosophical Transactions of the Royal Society of London","author":"Humi\u00e8res Dominique","year":"2002","unstructured":"Dominique d\u2019 Humi\u00e8res . 2002. Multiple--relaxation--time lattice Boltzmann models in three dimensions. Philosophical Transactions of the Royal Society of London , Series A: Mathematical, Physical and Engineering Sciences 360, 1792 ( 2002 ), 437--451. Dominique d\u2019Humi\u00e8res. 2002. Multiple--relaxation--time lattice Boltzmann models in three dimensions. Philosophical Transactions of the Royal Society of London, Series A: Mathematical, Physical and Engineering Sciences 360, 1792 (2002), 437--451."},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2581122.2544160"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2458523.2458526"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2464996.2467268"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/2110170.2110185"},{"key":"e_1_2_2_14_1","unstructured":"JSON 2001. Introducing JSON. (2001). http:\/\/www.json.org\/.  JSON 2001. Introducing JSON. (2001). http:\/\/www.json.org\/."},{"key":"e_1_2_2_15_1","volume-title":"Numerical Solution of Partial Differential Equations on Parallel Computers","author":"K\u00f6rner Carolin","unstructured":"Carolin K\u00f6rner , Thomas Pohl , Ulrich R\u00fcde , Nils Th\u00fcrey , and Thomas Zeiser . 2006. Parallel lattice Boltzmann methods for CFD applications . In Numerical Solution of Partial Differential Equations on Parallel Computers . Springer , 439--466. Carolin K\u00f6rner, Thomas Pohl, Ulrich R\u00fcde, Nils Th\u00fcrey, and Thomas Zeiser. 2006. Parallel lattice Boltzmann methods for CFD applications. In Numerical Solution of Partial Differential Equations on Parallel Computers. Springer, 439--466."},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/1250734.1250761"},{"key":"e_1_2_2_17_1","volume-title":"4th European Workshop on OpenMP.","author":"Massaioli Federico","year":"2002","unstructured":"Federico Massaioli and Giorgio Amati . 2002 . Achieving high performance in a LBM code using OpenMP . In 4th European Workshop on OpenMP. Federico Massaioli and Giorgio Amati. 2002. Achieving high performance in a LBM code using OpenMP. In 4th European Workshop on OpenMP."},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cpc.2006.09.005"},{"key":"e_1_2_2_19_1","volume-title":"Lattice Boltzmann Method: Fundamentals and Engineering Applications with Computer Codes","author":"Mohamad Abdulmajeed A.","unstructured":"Abdulmajeed A. Mohamad . 2011. Lattice Boltzmann Method: Fundamentals and Engineering Applications with Computer Codes . Springer . Abdulmajeed A. Mohamad. 2011. Lattice Boltzmann Method: Fundamentals and Engineering Applications with Computer Codes. Springer."},{"key":"e_1_2_2_20_1","volume-title":"Can traditional programming bridge the ninja performance gap for parallel computing applications&quest","author":"Nadathur Satish","unstructured":"Satish Nadathur , Changkyu Kim , Jatin Chhugani , Hideki Saito , Rakesh Krishnaiyer , Mikhail Smelyanskiy , Milind Girkar , and Pradeep Dubey . 2012. Can traditional programming bridge the ninja performance gap for parallel computing applications&quest ; In Proceedings of the 39th Annual International Symposium on Computer Architecture (ISCA) . 440--451. Satish Nadathur, Changkyu Kim, Jatin Chhugani, Hideki Saito, Rakesh Krishnaiyer, Mikhail Smelyanskiy, Milind Girkar, and Pradeep Dubey. 2012. Can traditional programming bridge the ninja performance gap for parallel computing applications&quest; In Proceedings of the 39th Annual International Symposium on Computer Architecture (ISCA). 440--451."},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/SC.2010.2"},{"key":"e_1_2_2_22_1","volume-title":"Frontiers in Simulation: Simulationstechnique--19th Symposium in Hannover. 265--270","author":"Nitsure Aditya","year":"2006","unstructured":"Aditya Nitsure , Klaus Iglberger , Ulrich R\u00fcde , Christian Feichtinger , Gerhard Wellein , and Georg Hager . 2006 . Optimization of cache oblivious lattice Boltzmann method in 2D and 3D . In Frontiers in Simulation: Simulationstechnique--19th Symposium in Hannover. 265--270 . Aditya Nitsure, Klaus Iglberger, Ulrich R\u00fcde, Christian Feichtinger, Gerhard Wellein, and Georg Hager. 2006. Optimization of cache oblivious lattice Boltzmann method in 2D and 3D. In Frontiers in Simulation: Simulationstechnique--19th Symposium in Hannover. 265--270."},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISPASS.2014.6844463"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-89740-8_6"},{"key":"e_1_2_2_25_1","unstructured":"Palabos 2009. Palabos. (2009). http:\/\/www.palabos.org\/.  Palabos 2009. Palabos. (2009). http:\/\/www.palabos.org\/."},{"key":"e_1_2_2_26_1","volume-title":"PLUTO: A polyhedral automatic parallelizer and locality optimizer for multicores.","year":"2008","unstructured":"Pluto. 2008 . PLUTO: A polyhedral automatic parallelizer and locality optimizer for multicores. (2008). http:\/\/pluto-compiler.sourceforge.net. Pluto. 2008. PLUTO: A polyhedral automatic parallelizer and locality optimizer for multicores. (2008). http:\/\/pluto-compiler.sourceforge.net."},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1142\/S0129626403001501"},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/1250734.1250780"},{"key":"e_1_2_2_29_1","volume-title":"Data structure and movement for lattice-based simulations. Physics Review E 88 (July","author":"Shet Aniruddha G.","year":"2013","unstructured":"Aniruddha G. Shet , Shahajhan H. Sorathiya , Siddharth Krithivasan , Anand M. Deshpande , Bharat Kaul , Sunil D. Sherlekar , and Santosh Ansumali . 2013. Data structure and movement for lattice-based simulations. Physics Review E 88 (July 2013 ), 013314. Aniruddha G. Shet, Shahajhan H. Sorathiya, Siddharth Krithivasan, Anand M. Deshpande, Bharat Kaul, Sunil D. Sherlekar, and Santosh Ansumali. 2013. Data structure and movement for lattice-based simulations. Physics Review E 88 (July 2013), 013314."},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.5555\/2738600.2738620"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/301618.301668"},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/291069.291015"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICPP.2011.47"},{"key":"e_1_2_2_34_1","volume-title":"The Lattice Boltzmann Equation: For Fluid Dynamics and Beyond","author":"Succi Sauro","unstructured":"Sauro Succi . 2001. The Lattice Boltzmann Equation: For Fluid Dynamics and Beyond . Oxford University Press . Sauro Succi. 2001. The Lattice Boltzmann Equation: For Fluid Dynamics and Beyond. Oxford University Press."},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1989493.1989508"},{"key":"e_1_2_2_36_1","volume-title":"On the single processor performance of simple lattice Boltzmann kernels. Computers &amp","author":"Wellein Gerhard","year":"2006","unstructured":"Gerhard Wellein , Thomas Zeiser , Georg Hager , and Stefan Donath . 2006. On the single processor performance of simple lattice Boltzmann kernels. Computers &amp ; Fluids 35, 8 ( 2006 ), 910--919. Gerhard Wellein, Thomas Zeiser, Georg Hager, and Stefan Donath. 2006. On the single processor performance of simple lattice Boltzmann kernels. Computers &amp; Fluids 35, 8 (2006), 910--919."},{"key":"e_1_2_2_37_1","volume-title":"Euro-Par 2003 Parallel Processing","author":"Wilke Jens","unstructured":"Jens Wilke , Thomas Pohl , Markus Kowarschik , and Ulrich R\u00fcde . 2003. Cache performance optimizations for parallel lattice Boltzmann codes . In Euro-Par 2003 Parallel Processing . Springer , 441--450. Jens Wilke, Thomas Pohl, Markus Kowarschik, and Ulrich R\u00fcde. 2003. Cache performance optimizations for parallel lattice Boltzmann codes. In Euro-Par 2003 Parallel Processing. Springer, 441--450."},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jpdc.2009.04.002"},{"key":"e_1_2_2_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2063384.2063458"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/1498765.1498785"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.camwa.2012.05.002"},{"key":"e_1_2_2_42_1","volume-title":"High Performance Compilers for Parallel Computing","author":"Wolfe Michael","unstructured":"Michael Wolfe . 1995. High Performance Compilers for Parallel Computing , Carter Shanklin and Leda Ortega (Eds.). Addison-Wesley Longman Publishing Co., Inc. Michael Wolfe. 1995. High Performance Compilers for Parallel Computing, Carter Shanklin and Leda Ortega (Eds.). Addison-Wesley Longman Publishing Co., Inc."},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.5555\/846234.849346"},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1015460304860"},{"key":"e_1_2_2_45_1","volume-title":"International Workshop on Polyhedral Compilation Techniques (IMPACT).","author":"Wonnacott David","year":"2013","unstructured":"David Wonnacott and Michelle Strout . 2013 . On the scalability of loop tiling techniques . In International Workshop on Polyhedral Compilation Techniques (IMPACT). David Wonnacott and Michelle Strout. 2013. On the scalability of loop tiling techniques. In International Workshop on Polyhedral Compilation Techniques (IMPACT)."},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.5555\/353939"},{"key":"e_1_2_2_47_1","volume-title":"On pressure and velocity flow boundary conditions and bounceback for the lattice Boltzmann BGK model. arXiv preprint comp-gas\/9611001","author":"Zou Qisu","year":"1996","unstructured":"Qisu Zou and Xiaoyi He. 1996. On pressure and velocity flow boundary conditions and bounceback for the lattice Boltzmann BGK model. arXiv preprint comp-gas\/9611001 ( 1996 ). Qisu Zou and Xiaoyi He. 1996. On pressure and velocity flow boundary conditions and bounceback for the lattice Boltzmann BGK model. arXiv preprint comp-gas\/9611001 (1996)."}],"container-title":["ACM Transactions on Architecture and Code Optimization"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2739047","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2739047","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T06:16:23Z","timestamp":1750227383000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2739047"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,5,27]]},"references-count":46,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2015,7,8]]}},"alternative-id":["10.1145\/2739047"],"URL":"https:\/\/doi.org\/10.1145\/2739047","relation":{},"ISSN":["1544-3566","1544-3973"],"issn-type":[{"value":"1544-3566","type":"print"},{"value":"1544-3973","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,5,27]]},"assertion":[{"value":"2015-01-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2015-02-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2015-05-27","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}