[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-685892-105":59,"doc-detail-685892-en":130,"doc-similar-685892":154},{"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","medusa-simplified-graph-processing-on-gpus","Medusa - Simplified Graph Processing on GPUs","","Graphs are foundational data structures, and efficient graph processing is essential for high performance. GPUs are increasingly used to accelerate algorithms like BFS and shortest paths, yet irregular graph structures make correct, efficient GPU programming difficult. Medusa is a programming framework that lets developers write sequential C/C++ while using a small set of user-defined APIs and a runtime system that executes them in parallel on GPUs. It includes GPU architecture-aware optimizations and extensions for multi-GPU execution.",{"@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":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/medusa-simplified-graph-processing-on-gpus/685892/",{"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/medusa-simplified-graph-processing-on-gpus/685892.png","ImageObject",300,407,{"name":92,"@type":93},"Dewi_Sukmawati","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-24","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does Medusa address in GPU-based graph processing?","Question",{"text":112,"@type":113},"Medusa targets the difficulty of writing correct and efficient GPU programs for graph algorithms, especially due to irregular graph structures and GPU programming complexity.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does Medusa simplify GPU programming for developers?",{"text":117,"@type":113},"Developers write sequential C/C++ and use a small set of user-defined APIs, while a runtime system automatically executes these APIs in parallel on the GPU (and multiple GPUs).",{"name":119,"@type":110,"acceptedAnswer":120},"What programming model and optimizations does Medusa use?",{"text":121,"@type":113},"Medusa introduces an Edge-Message-Vertex (EMV) graph programming model for fine-grained vertex/edge processing and applies GPU architecture-aware optimizations, including memory layout and message passing, plus multi-GPU techniques like cost model guided replication.","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},685892,1794021609,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"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":14,"preview_urls":145},962094243415,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","This is a preprint for journal publication in IEEE TPDS. 1  \nMedusa: Simpli􀀂ed Graph Processing on  \nGPUs  \nJianlong Zhong, Bingsheng He  \nAbstract—Graphs are common data structures for many applications, and ef􀀂cient graph processing is a must for application performance. Recently, the graphics processing unit (GPU) has been adopted to accelerate various graph processing algorithms such as BFS and shortest paths. However, it is dif􀀂cult to write correct and ef􀀂cient GPU programs and even more dif􀀂cult for graph processing due to the irregularities of graph structures. To simplify graph processing on GPUs, we propose a programming framework called Medusa which enables developers to leverage the capabilities of GPUs by writing sequential C/C++ code. Medusa offers a small set of user-de􀀂ned APIs, and embraces a runtime system to automatically execute those APIs in parallel on the GPU. We develop a series of graph-centric optimizations based on the architecture features of GPUs for ef􀀂ciency. Additionally, Medusa is extended to execute on multiple GPUs within a machine. Our experiments show that (1) Medusa greatly simpli􀀂es implementation of GPGPU programs for graph processing, with many fewer lines of source code written by developers;  \n(2) The optimization techniques signi􀀂cantly improve the performance of the runtime system, making its performance comparable with or better than manually tuned GPU graph operations.  \nIndex Terms—GPGPU, GPU Programming, Graph Processing, Runtime Framework.  \n~~ ~~ F ~~ ~~  \n1 INTRODUCTION  \nGRAPHS are common data structures in various  \napplications such as social networks, chemistry and web link analysis. Graph processing algorithms have been the fundamental tools in various 􀀂elds. Developers usually apply a series of operations on the graph edges and vertices to obtain the 􀀂nal result. The example operations can be breadth 􀀂rst search (BFS), PageRank [32], shortest paths and even their customized variants (for example, developers may apply different application logics on top of BFS) . The ef􀀂ciency of graph processing is a must for high performance of the entire system. On the other hand, writing every graph processing algorithm from scratch is inef􀀂cient and involves repetitive work, since different algorithms may share the same operation patterns, optimization techniques and common software components. A programming framework supporting high programmability for various graph processing applications and providing high ef􀀂ciencyas well can greatly improve productivity.  \nRecent years have witnessed the increasing adoption of GPGPU (General-Purpose computation on Graphics Processing Units) in many applications [31] . The GPU has been used as an accelerator for various graph processing applications [14], [16], [23],[35] . While those GPU-based solutions have demonstrated signi􀀂cant performance improvement over CPU-based implementations, they are limited to spe-  \n􀀏 J. Zhong and B. He are with the School of Computer Engineering, Nanyang Technological University, Singapore, 639798. [E-mail: jzhong2@ntu.edu.sg](E-mail: jzhong2@ntu.edu.sg), [bshe@ntu.edu.sg](bshe@ntu.edu.sg)  \nci􀀂c graph operations. Developers usually need to implement and optimize GPU programs from scratch for different graph processing tasks.  \nWriting a correct and ef􀀂cient GPU program is challenging in general, and even more dif􀀂cult for graph applications. First, the GPU is a many-core processor with massive thread parallelism. To fully exploit the GPU parallelism, developers need to write parallel programs that scale to hundreds of cores. Moreover, compared with CPU threads, the GPU threads are lightweight, and the tasks in the parallel algorithms should be 􀀂ne grained. Second, the GPU has a memory hierarchy that is different from the CPU’s. Since graph applications usually involve irregular accesses to the graph data, careful designs of data layouts and memory accesses are key factors to the ef􀀂ciency of GPU acceleration. Fi","cbCaihjAnztFcl9c","https://ap.wps.com/l/cbCaihjAnztFcl9c","pdf",388134,11,"English","# Introduction\n## Graph processing background and motivation\n## Challenges of GPU programming for graphs\n## Medusa framework and programming model\n## Memory and multi-GPU optimizations","[{\"question\":\"What problem does Medusa address in GPU-based graph processing?\",\"answer\":\"Medusa targets the difficulty of writing correct and efficient GPU programs for graph algorithms, especially due to irregular graph structures and GPU programming complexity.\"},{\"question\":\"How does Medusa simplify GPU programming for developers?\",\"answer\":\"Developers write sequential C/C++ and use a small set of user-defined APIs, while a runtime system automatically executes these APIs in parallel on the GPU (and multiple GPUs).\"},{\"question\":\"What programming model and optimizations does Medusa use?\",\"answer\":\"Medusa introduces an Edge-Message-Vertex (EMV) graph programming model for fine-grained vertex/edge processing and applies GPU architecture-aware optimizations, including memory layout and message passing, plus multi-GPU techniques like cost model guided replication.\"}]","Medusa - Simplified Graph Processing on GPUs | PDF",28,[146,150],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/87eb564984a0bec47aed231c01425d89.webp",983,1341,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/51bb97a9b316dd0169dd37ae39868c44.webp",982,1340,{"list":155,"token":66},[156,163,169,175,181,188,194,200,206,212],{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":161,"category_name":30,"create_tm":162},81969,"An Introduction and Tutorial for the Beagle Framework","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808657397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=V8JriKDDDonDmfuIn3EkGmjCXTM%3D","an-introduction-and-tutorial-for-the-beagle-framework",23,1784177334,{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":29,"category_name":30,"create_tm":168},692449,"Inference Snaps - Generative AI models packaged for efficient local performance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003827817/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=TLFztPV1ms5Gbtc84kcJf3MH89Y%3D","inference-snaps-generative-ai-models-packaged-for-efficient-local-performance",1794208502,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":44,"category_name":30,"create_tm":174},444638,"Fast STA Graph Partitioning Framework for Multi-GPU Acceleration - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924666579/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=jjMJoahgU9Rx4u8wWXFphNMtqX8%3D","fast-sta-graph-partitioning-framework-for-multi-gpu-acceleration-abstract",1790708768,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":8,"category_name":30,"create_tm":180},759642,"GPU libraries - Get More for Less","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044473783/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=0akHZGqNhU%2BwTYT%2FVRiU0Ms4aKA%3D","gpu-libraries-get-more-for-less",1795891412,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":186,"category_name":30,"create_tm":187},267237,"Competitive Programming - Algorithm and Data Structures Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898561470/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=Hc8UH8Uavopc3i9B%2BPtrkhzDxGE%3D","competitive-programming-algorithm-and-data-structures-guide",13,1789416248,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":52,"category_name":30,"create_tm":193},672776,"NVIDIA A100 Tensor Core GPU - Datasheet - Jun20","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229989600587/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=A1a4Ch21UZsM0hpZiaxZW9%2BpXuY%3D","nvidia-a100-tensor-core-gpu-datasheet-jun20",1793607139,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":29,"category_name":30,"create_tm":199},698125,"Graphics and Computing GPUs - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010204222/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=pNzBkGD1iPhygQTEZKXfuOYag88%3D","graphics-and-computing-gpus-introduction",1794448645,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":186,"category_name":30,"create_tm":205},326900,"Concise Algorithmics - Algorithms and Data Structures—The Basic Toolbox - Part 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229908461102/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=TO0LnvsrQOiTbc4W5hRiM9zaLRk%3D","concise-algorithmics-algorithms-and-data-structuresthe-basic-toolbox-part-1",1789975711,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":34,"category_name":30,"create_tm":211},466005,"mLoRA - Fine-Tuning LoRA Adapters via Highly-Efficient Pipeline Parallelism in Multiple GPUs - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925857047/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=WMMvEpMTMzGkwcv8A2SrprlqPes%3D","mlora-fine-tuning-lora-adapters-via-highly-efficient-pipeline-parallelism-in-multiple-gpus-abstract",1790770408,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":29,"category_name":30,"create_tm":217},698089,"Qualcomm Snapdragon Mobile Platform OpenCL General Programming and Optimization - Revision A - Initial release","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010188385/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=epX%2FSErHPIgW%2FUmFtZqvwCT2PVw%3D","qualcomm-snapdragon-mobile-platform-opencl-general-programming-and-optimization-revision-a-initial-release",1794448075]