[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-698890-105":59,"doc-detail-698890-en":130,"doc-similar-698890":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","taming-dynamism-on-gpus-cross-sm-kernel-fusion-via-sm-cooperation-and-just-in-time-reduction","Taming Dynamism on GPUs - Cross-SM Kernel Fusion via SM Cooperation and Just-in-Time Reduction","","Modern LLM systems make GPU kernel input shapes increasingly dynamic, such as MoE conditional expert routing and variable-length batches. This dynamism reduces performance in both expert-tuned kernels and compiler frameworks. The paper attributes the degradation to dynamic cross-SM data dependencies across execution phases, which require separate kernels for correctness. Kernel boundaries then worsen intra-phase SM imbalance and force intermediate states to move through off-chip memory.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/taming-dynamism-on-gpus-cross-sm-kernel-fusion-via-sm-cooperation-and-just-in-time-reduction/698890/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/taming-dynamism-on-gpus-cross-sm-kernel-fusion-via-sm-cooperation-and-just-in-time-reduction/698890.png","ImageObject",300,407,{"name":92,"@type":93},"Nguyễn Văn Học","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper identify in dynamic LLM GPU workloads?","Question",{"text":112,"@type":113},"Dynamic inputs create cross-SM data dependencies across phases, forcing separate kernels for correctness. The resulting kernel boundaries amplify imbalance across SMs and increase expensive off-chip intermediate transfers.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is the proposed solution to improve performance?",{"text":117,"@type":113},"The paper proposes cross-SM kernel fusion across the entire GPU, using dynamic SM cooperation and just-in-time reduction instead of relying on kernel boundaries.",{"name":119,"@type":110,"acceptedAnswer":120},"How does MeldKernel handle workload dynamism at runtime?",{"text":121,"@type":113},"Meld introduces a decoupled execution model where developers declare computation logic, while hardware mapping and inter-SM cooperation are deferred to runtime and adapted to input shapes.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},698890,1794456518,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},1374402739827,"https://ap-avatar.wpscdn.com/avatar/14000c97e7351f1a627?x-image-process=image/resize,m_fixed,w_180,h_180&k=1787885694763230660","Taming Dynamism on GPUs: Cross-SM Kernel Fusion via SM Cooperation and Just-in-Time Reduction  \nJingkai He, Guangda Sun, Tianjian Li, Dong Du, Yubin Xia, Haibo Chen  \nInstitute of Parallel and Distributed Systems, Shanghai Jiao Tong University  \nInstitute of Artificial Intelligence Operating Systems, Shanghai Jiao Tong University  \nAbstract  \nModern LLM architectures and systems render GPU kernel input shapes increasingly dynamic, e.g., conditional expert routing in MoE and batches with variable-length sequences. This dynamism degrades performance in both expert-tuned kernels and compiler frameworks. We identify the root cause as dynamic cross-SM data dependencies across execution phases, which force distinct phases into separate kernels for correctness. The resulting kernel boundaries amplify intra-phase workload imbalance across SMs, and compel intermediate states to expensive round trips through off-chip memory.  \nWe propose cross-SM kernel fusion, which pushes kernel fusion boundary from traditional intra-SM scope to the entire GPU. Instead of enforcing dependencies via kernel boundaries, it utilizes dynamic SM cooperation and just-in-time reduction. We present MeldKernel (Meld for short), a compiler framework realizing cross-SM fusion for dynamic workloads. First, utilizing GPU on-chip interconnects, Meld enables finegrained SM cooperation, which decomposes coarse-grained, phase-level dependencies into sub-task-level ones, transforming sequential kernels into a fluid, cross-SM pipeline. This further enables just-in-time reduction, facilitating waitingfree and localized state reduction via asynchronous communication. Second, to handle workload dynamism, we propose a decoupled execution model. Developers declaratively define computation logic, while the hardware mapping and inter-SM cooperation are deferred to runtime and adapted to input shapes. Meld accelerates critical workloads like decoding attention by 1.3× on average over the best solutions. Meld shifts GPU execution from a BSP-centric model toward fine-grained, dataflow-driven execution.  \nCCS Concepts: • Computing methodologies → Parallel computing methodologies; • Computer systems organization → Parallel architectures; • Software and its engineering → Compilers.  \nKeywords: GPU Kernel, GPU Architecture, Kernel Fusion  \nThis work is licensed under a Creative Commons Attribution 4 .0 International License.  \nSOSP ’26, Prague, Czech Republic  \n© 2026 Copyright held by the owner/author(s) .  \nACM ISBN 979-8-4007-2585-2/2026/09  \n[https://doi.org/10.1145/3830418.3843857](https://doi.org/10.1145/3830418.3843857)  \nACM Reference Format:  \nJingkai He, Guangda Sun, Tianjian Li, Dong Du, Yubin Xia, Haibo Chen. 2026. Taming Dynamism on GPUs: Cross-SM Kernel Fusion via SM Cooperation and Just-in-Time Reduction. In ACM SIGOPS 32nd Symposium on Operating Systems Principles (SOSP ’26), September 29-October 02, 2026, Prague, Czech Republic. ACM, New York, NY, USA, 21 pages. [https://doi.org/10.1145/3830418.3843857](https://doi.org/10.1145/3830418.3843857)  \n1 Introduction  \nThe explosive growth of GPU workloads, particularly LLMs [1– 5], imposes immense pressure on the efficiency of GPU kernels. Consequently, substantial efforts have been devoted to hand-crafted kernels [6–15](e.g., FlashAttention (FA) [16– 20]) and compiler frameworks [21–39](e.g., Triton [40]) .  \nTraditionally, with the premise of uniform and relatively static inputs (e.g., pre-training), efforts have focused on intraStreaming Multiprocessor (SM) (i.e., intra-thread-block) optimizations, e.g., pipelining [18, 22, 26], parallelization [41, 42], and fusion [17, 23–25], while treating SMs as independent parallel instances. For example, early FlashAttention [16] dedicates a thread block to each head of each sequence. However, today’s shift in models and high-level systems renders kernel inputs highly dynamic (and irregular) . For instance, continuous batching [43] forces attention kernels to process sequences of w","cbCaifd5IvbN1ecX","https://ap.wps.com/l/cbCaifd5IvbN1ecX","pdf",1509670,21,"English","# 1 Introduction\n# 2 Background\n# 3 Method\n## Cross-SM kernel fusion\n## MeldKernel design\n# 4 Evaluation\n## Performance results","[{\"question\":\"What problem does the paper identify in dynamic LLM GPU workloads?\",\"answer\":\"Dynamic inputs create cross-SM data dependencies across phases, forcing separate kernels for correctness. The resulting kernel boundaries amplify imbalance across SMs and increase expensive off-chip intermediate transfers.\"},{\"question\":\"What is the proposed solution to improve performance?\",\"answer\":\"The paper proposes cross-SM kernel fusion across the entire GPU, using dynamic SM cooperation and just-in-time reduction instead of relying on kernel boundaries.\"},{\"question\":\"How does MeldKernel handle workload dynamism at runtime?\",\"answer\":\"Meld introduces a decoupled execution model where developers declare computation logic, while hardware mapping and inter-SM cooperation are deferred to runtime and adapted to input shapes.\"}]","Taming Dynamism on GPUs - Cross-SM Kernel Fusion via SM Cooperation and Just-in-Time Reduction | PDF",53,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b88a5e0fac458e38d745f40e70bd736d.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6ab737d7bae6270f29fccd40a00bb743.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/ecade25d4bc14d8c46d51543b08857ab.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1442827bac88d5abf504444929c40074.webp",980,1268,{"list":163,"token":66},[164,171,177,183,190,197,203,209,215,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":40,"create_tm":170},83812,"Correct but Slow An Empirical Study of the GPU Kernel Evaluation Gap in Modern Domain-Specific Languages","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809099492/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=97lcTafug22VHu8bQVG5UCvhgtQ%3D","correct-but-slow-an-empirical-study-of-the-gpu-kernel-evaluation-gap-in-modern-domain-specific-languages",32,1784190573,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":19,"category_name":40,"create_tm":176},698131,"AgentKernelArena - Generalization-Aware Benchmarking of GPU Kernel Optimization Agents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010205936/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=IOuVwA6BtKohl7gF4yXh6tdIhMo%3D","agentkernelarena-generalization-aware-benchmarking-of-gpu-kernel-optimization-agents",1794448697,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":19,"category_name":40,"create_tm":182},740762,"WISP - A WORKING-SET VIEW OF MIXTURE-OF-EXPERTS SERVING ON EXTREMELY LOW-RESOURCE HARDWARE","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230038947014/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=SRMtS0eBfPf5AQmleojy8MHaDX8%3D","wisp-a-working-set-view-of-mixture-of-experts-serving-on-extremely-low-resource-hardware",1795646506,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},84510,"The Correctness Illusion in LLM-Generated GPU Kernels","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809179646/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=KQOOMZq6XIWrMe4LPb%2BMM%2FW6K7A%3D","the-correctness-illusion-in-llm-generated-gpu-kernels",27,1784196217,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":40,"create_tm":196},83613,"Mixture-of-Parallelisms: Towards Memory-Efficient Training Stack for Mixture-of-Experts Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808992232/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=nstQMpUfDt8HqprRlH%2BLCV6SrTo%3D","mixture-of-parallelisms-towards-memory-efficient-training-stack-for-mixture-of-experts-models",34,1784189268,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":19,"category_name":40,"create_tm":202},685890,"FASTKERNELS - Benchmarking GPU Kernel Generation in Production","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000264948/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=bK%2Bi%2BVEyVi3%2FMc6UaAwW%2FwPLkTo%3D","fastkernels-benchmarking-gpu-kernel-generation-in-production",1794021609,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":31,"category_name":40,"create_tm":208},86548,"GPU Tile Sim A Tile-Centric GPU Simulation Framework for LLM Hardware-Software Co-Design","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809426534/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=yW3T%2BW1YZ7NNB0X5RPtHRgECFWA%3D","gpu-tile-sim-a-tile-centric-gpu-simulation-framework-for-llm-hardware-software-co-design",1784212562,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":169,"category_name":40,"create_tm":214},82044,"DIRECTOR Accelerating Distributed MoE Serving via Online Proactive Expert Placement","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808704271/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=lLRZqJoRYP8VjCDtnjRKslbDi1g%3D","director-accelerating-distributed-moe-serving-via-online-proactive-expert-placement",1784177788,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},85023,"CTA-Pipelining: A Latency-Oriented Spatial Scaling Method for Multi-GPU Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809285946/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=fEZ4rkT7GD%2FC6%2BnmPXLt7NVJqhA%3D","cta-pipelining-a-latency-oriented-spatial-scaling-method-for-multi-gpu-systems",33,1784200431,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":195,"category_name":40,"create_tm":227},82047,"Accelerating GPU Inference of Large Language Models with Moderately Unstructured Sparse Weight Matrices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808663212/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=a%2B9VwzN%2BRzi1wXKEA0velhSLlPE%3D","accelerating-gpu-inference-of-large-language-models-with-moderately-unstructured-sparse-weight-matrices",1784177799]