{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,23]],"date-time":"2026-07-23T20:14:28Z","timestamp":1784837668125,"version":"3.55.0"},"reference-count":60,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T00:00:00Z","timestamp":1767830400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["2204986"],"award-info":[{"award-number":["2204986"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,1,8]]},"abstract":"<jats:p>\n                    Graphics Processing Units (GPUs) are the accelerator of choice for performance-critical applications, yet optimizing for performance requires mastery of the complex interactions between its memory architecture and its execution model. Existing static analysis tools for GPU kernels either identify performance bugs without quantifying costs or cannot handle thread-divergent control flow, leading to significant over-approximations. We present the first static relational-cost analysis for GPU warp-level parallelism that can give exact bounds even in the presence of thread divergence. Our analysis is general and flexible, as it is parametric on the resource metric (uncoalesced accesses, bank conflicts) and on the cost relation (=, \u2264, \u2265). We establish a soundness theorem for our technique, provide mechanized proofs in Rocq and implement our theory in a tool called\n                    <jats:sans-serif>Pico<\/jats:sans-serif>\n                    . In a reproducibility experiment,\n                    <jats:sans-serif>Pico<\/jats:sans-serif>\n                    produced the tightest bounds in every input, outperforming the state-of-the-art tool RaCUDA in 10 kernels (1.7\u00d7 better), while RaCUDA produced 4 incorrect bounds and crashed on 2 kernels. In an experiment to measure the accuracy of\n                    <jats:sans-serif>Pico<\/jats:sans-serif>\n                    , we studied the impact of threaddivergence in control-flow in a dataset of 226 kernels. We found that at least 75.3% of conditionals and 85.4% of loops can be captured exactly, without introducing approximation.\n                  <\/jats:p>","DOI":"10.1145\/3776693","type":"journal-article","created":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T18:59:43Z","timestamp":1767898783000},"page":"1471-1499","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["A Modular Static Cost Analysis for GPU Warp-Level Parallelism"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-2890-0822","authenticated-orcid":false,"given":"Gregory","family":"Blike","sequence":"first","affiliation":[{"name":"University of Massachusetts Boston, Boston, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3607-1746","authenticated-orcid":false,"given":"Hannah","family":"Zicarelli","sequence":"additional","affiliation":[{"name":"University of Massachusetts Boston, Boston, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-8909-3451","authenticated-orcid":false,"given":"Udaya","family":"Sathiyamoorthy","sequence":"additional","affiliation":[{"name":"University of Massachusetts Boston, Boston, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9697-1378","authenticated-orcid":false,"given":"Julien","family":"Lange","sequence":"additional","affiliation":[{"name":"Royal Holloway, University of London, Egham, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3209-9258","authenticated-orcid":false,"given":"Tiago","family":"Cogumbreiro","sequence":"additional","affiliation":[{"name":"University of Massachusetts Boston, Boston, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,1,8]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-63387-9_25"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-021-00362-8"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISPASS.2009.4919648"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-08867-9_15"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/2664666.2664673"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/11804192_17"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/1375527.1375562"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/2743017"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/2384616.2384625"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-32149-3_53"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/224164.224210"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/232627.232650"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","unstructured":"Gregory Blike Tiago Cogumbreiro Julien Lange Hannah Zicarelli and Udaya Sathiyamoorthy. 2025. A Modular Static Cost Analysis for GPU Warp-Level Parallelism - Artifact POPL2026. (11 2025). doi:10.6084\/m9.figshare.30689102.v1","DOI":"10.6084\/m9.figshare.30689102.v1"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2014.03.013"},{"key":"e_1_3_2_16_2","article-title":"Automated dynamic analysis of CUDA programs","volume":"33","author":"Boyer Michael","year":"2008","unstructured":"Michael Boyer, Kevin Skadron, and Westley Weimer. 2008. Automated dynamic analysis of CUDA programs. In Proceedings of STMCS, Vol. 33. https:\/\/www.cs.virginia.edu\/~skadron\/Papers\/stmcs08.pdf","journal-title":"Proceedings of STMCS"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009858"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/2063384.2063401"},{"key":"e_1_3_2_19_2","volume-title":"Professional CUDA C Programming","author":"Cheng John","year":"2014","unstructured":"John Cheng, Max Grossman, and Ty McKercher. 2014. Professional CUDA C Programming. Wiley. https:\/\/books.google.com\/books?id=q3DvBQAAQBAJ"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-023-00415-0"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-81685-8_19"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-37036-6_16"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1016\/B978-0-12-415933-4.00006-5"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1093\/bib\/bbq006"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.23919\/DATE.2019.8715160"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-12736-1_15"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-08166-8_10"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","unstructured":"Chunyang Gou and Georgi N. Gaydadjiev. 2012. Addressing GPU On-Chip Shared Memory Bank Conflicts Using Elastic Pipeline. International Journal of Parallel Programming 41 (2012) 400\u2013429. doi:10.1007\/s10766-012-0201-1","DOI":"10.1007\/s10766-012-0201-1"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/2362389.2362393"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/604131.604148"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","unstructured":"Adrian Horga Sudipta Chattopadhyay Petru Eles and Zebo Peng. 2020. Genetic algorithm based estimation of non-functional properties for GPGPU programs. Journal of Systems Architecture 103 (2020) 101697. doi:10.1016\/j.sysarc.2019.101697","DOI":"10.1016\/j.sysarc.2019.101697"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","unstructured":"Adrian Horga Ahmed Rezine Sudipta Chattopadhyay Petru Eles and Zebo Peng. 2022. Symbolic identification of shared memory based bank conflicts for GPUs. Journal of Systems Architecture 127 (2022) 102518. doi:10.1016\/j.sysarc.2022.102518","DOI":"10.1016\/j.sysarc.2022.102518"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-43229-4_42"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1145\/3609102"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-03542-0_5"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3001834"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2004.1281665"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/1882291.1882320"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1109\/IPDPSW.2012.302"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/2370036.2145844"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1002\/jae.1007"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/143365.143541"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","unstructured":"Dennis Liew Tiago Cogumbreiro and Julien Lange. 2022. Provable GPU Data-Races in Static Race Detection. In Proceedings of PLACES (EPTCS Vol. 356). 36\u201345. doi:10.4204\/EPTCS.356.4","DOI":"10.4204\/EPTCS.356.4"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3689797"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-10769-6_43"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3434306"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3639403"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192394"},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10462-018-09679-z"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","unstructured":"Weihao Qu Marco Gaboardi and Deepak Garg. 2019. Relational cost analysis for functional-imperative programs. Proceedings of the ACM on Programming Languages 3 ICFP Article 92 (2019) 29 pages. doi:10.1145\/3341696","DOI":"10.1145\/3341696"},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","unstructured":"Weihao Qu Marco Gaboardi and Deepak Garg. 2021. Relational cost analysis in a functional-imperative setting. Journal of Functional Programming 31 (2021) e27. doi:10.1017\/S0956796821000071","DOI":"10.1017\/S0956796821000071"},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/3158124"},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/3434312"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/2523815"},{"key":"e_1_3_2_55_2","doi-asserted-by":"publisher","unstructured":"Lin Shi Wen Liu Heye Zhang Yongming Xie and Defeng Wang. 2012. A survey of GPU-based medical image computing techniques. Quantitative imaging in medicine and surgery 2 (2012) 188\u2013206. Issue 3. doi:10.3978\/j.issn.2223-4292.2012.08.02","DOI":"10.3978\/j.issn.2223-4292.2012.08.02"},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jmgm.2010.06.010"},{"key":"e_1_3_2_57_2","unstructured":"UMass Boston Software Verification Laboratory. 2024. Faial. https:\/\/gitlab.com\/umb-svl\/faial\/. Accessed: 2025-11-24."},{"key":"e_1_3_2_58_2","unstructured":"UMass Boston Software Verification Laboratory. 2024. A Modular Static Cost Analysis for GPU Warp-Level Parallelism (Proofs). https:\/\/gitlab.com\/umb-svl\/faial-cost-rocq.Accessed: 2025-11-24."},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.1109\/IGCC.2016.7892594"},{"key":"e_1_3_2_60_2","doi-asserted-by":"publisher","DOI":"10.1145\/1950365.1950408"},{"key":"e_1_3_2_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/1693453.1693472"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3776693","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T13:39:04Z","timestamp":1784209144000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3776693"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,8]]},"references-count":60,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2026,1,8]]}},"alternative-id":["10.1145\/3776693"],"URL":"https:\/\/doi.org\/10.1145\/3776693","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,8]]},"assertion":[{"value":"2025-07-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-11-06","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}