[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-751100-105":59,"doc-detail-751100-en":129,"doc-similar-751100":160},{"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":122,"head_meta":124,"extra_data":126,"updated_unix":128},105,"en","astaroth-a-scientific-computing-framework-for-accelerating-stencil-computations","Astaroth - A scientific computing framework for accelerating stencil computations","","Stencil computations are fundamental to high-performance scientific computing and often require GPUs to run large simulations efficiently. Astaroth is a GPU framework for accelerating stencil computations, offering a dedicated domain-specific language (DSL) so researchers can express problems without focusing on implementation details. It runs in CUDA and HIP environments and can target CPUs for testing, while also accelerating reductions and simple ray tracing. Optimized for multiphysics and cache-constrained use cases, it has been applied to turbulent astrophysical plasma simulations.",{"@graph":69,"@context":121},[70,84,104],{"@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/astaroth-a-scientific-computing-framework-for-accelerating-stencil-computations/751100/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":98,"encodingFormat":97,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/astaroth-a-scientific-computing-framework-for-accelerating-stencil-computations/751100.png","ImageObject",300,407,{"name":92,"@type":93},"iuabcfuw","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26",true,{"@type":101,"interactionType":102,"userInteractionCount":8},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117],{"name":108,"@type":109,"acceptedAnswer":110},"What is Astaroth, and what problem does it address?","Question",{"text":111,"@type":112},"Astaroth is a GPU framework for accelerating stencil computations, designed to make scalable scientific computing feasible by targeting performance and portability needs for stencil-heavy applications.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"What programming model does Astaroth provide?",{"text":116,"@type":112},"Astaroth provides its own domain-specific language (DSL) and a code generation approach, enabling users to write stencil computations in a compact and clear way.",{"name":118,"@type":109,"acceptedAnswer":119},"How does Astaroth handle multiphysics and cache constraints?",{"text":120,"@type":112},"It focuses on cache-constrained multiphysics use cases by reordering computations into stages with higher and lower cache reuse to better utilize on-chip caches.","https://schema.org",{"og:url":83,"og:type":123,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":125,"canonical":83},"index,follow",{"doc_id":127,"site_id":62},751100,1795720073,{"code":4,"msg":5,"data":130},{"doc_id":127,"user_id":131,"nickname":92,"user_avatar":132,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":34,"language":138,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":139,"faqs":140,"seo_title":141,"seo_description":67,"update_tm":128,"read_time":142,"preview_page_count":19,"preview_urls":143},3985747874027,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Astaroth: A scientific computing framework for accelerating stencil computations.  \nDOI: 10.21105/joss.10631 Software  \n• Review   \n• Repository   \n• Archive   \nEditor: Patrick Diehl   Reviewers:  \n• @streeve  \n• @atmyers  \nSubmitted: 20 May 2026  \nPublished: 08 October 2026  \nLicense  \nAuthors of papers retain copyright and release the work under a Creative Commons Attribution 4.0 International License (CC BY 4 .0) .  \nTouko Puro  1¶, Johannes Pekkilä  1 , Miikka S. Väisälä  2 , Oskar Lappi  3 , Matthias Rheinhardt  1 , Hsien Shang  4 , and Maarit Korpi-Lagg  1  \n1 Aalto University, Finland 2 University of Oulu, Finland 3 University of Helsinki, Finland 4 Academia Sinica Institute of Astronomy and Astrophysics, Taiwan ¶ Corresponding author  \nSummary  \nStencil computations1 are one of the bedrocks of high-performance scientific computing, forming the core of many partial differential equation (PDE) and numerical linear algebra solvers. In recent years, GPUs have become the primary compute platform for data-parallel applications in high-performance computing, and it has become difficult to run large simulations without them. Astaroth is a GPU framework for stencil computations that has been developed to address this problem of scalable scientific computing. Astaroth provides its own domainspecific language (DSL), in which researchers can express such computations without having to focus on technical implementation details. It can run efficiently in both CUDA-and HIP-based environments, and for testing purposes on CPUs. While stencils are the core of Astaroth , it also accelerates other operations like reductions (e.g., sums) and simple ray-tracing, and it integrates with libraries performing GPU-accelerated Fourier transforms, all of which are important for simulations on structured grids. Astaroth is optimized for multiphysics use cases and has primarily been used for turbulent astrophysical plasma simulations.  \nStatement of need  \nDue to the ubiquity and expense of stencil computations, a common library for implementing them efficiently on GPUs is needed, more so because high-performance codes require portability across different computing platforms. Such a library is needed both for accelerating existing codes and for writing new ones . Thus, its API has to enable good integration with existing code and easy development of new code.  \nAstaroth strives to be this library, by creating abstractions of common stencil structures and operations in its DSL2 , which enables researchers in different domains to write their stencil computations in a compact and clear way. These abstractions allows Astaroth to provide the needed execution platform for different application cases, predominantly for PDE solvers, but also for image processing and numerical linear algebra.  \nIn particular, multiphysics simulations include computationally challenging stencil calculations due to the need to hold values of many fields in working memory at the same time. Accelerating them was the original need for which Astaroth was developed. As an example, Astaroth has  \n1 Stencil computations are computations on structured grids where a given point is updated using a fixed neighborhood pattern. Examples are convolutions in image processing and convolutional neural networks, and different schemes for spatial derivatives like the finite-difference method.  \n2 For a simple example of the Astaroth DSL and a program using it, see the advection solver example from this link.  \nPuro et al. (2026) . Astaroth: A scientific computing framework for accelerating stencil computations. Journal of Open Source Software, 11(126), 1  \n10631. [https://doi.org/10.21105/joss.10631](https://doi.org/10.21105/joss.10631) .  \nbeen employed to accelerate the widely used astrophysics framework Pencil Code, for which existing acceleration methods were not fit.  \nState of the field  \nSeveral approaches have been proposed to improve the performance, portability, and (user) productivity","cbCainmZOdJfcnXd","https://ap.wps.com/l/cbCainmZOdJfcnXd","pdf",257538,"English","# Summary\n## Statement of need\n## State of the field","[{\"question\":\"What is Astaroth, and what problem does it address?\",\"answer\":\"Astaroth is a GPU framework for accelerating stencil computations, designed to make scalable scientific computing feasible by targeting performance and portability needs for stencil-heavy applications.\"},{\"question\":\"What programming model does Astaroth provide?\",\"answer\":\"Astaroth provides its own domain-specific language (DSL) and a code generation approach, enabling users to write stencil computations in a compact and clear way.\"},{\"question\":\"How does Astaroth handle multiphysics and cache constraints?\",\"answer\":\"It focuses on cache-constrained multiphysics use cases by reordering computations into stages with higher and lower cache reuse to better utilize on-chip caches.\"}]","Astaroth - A scientific computing framework for accelerating stencil computations | PDF",18,[144,148,152,156],{"page_no":8,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-26/55004be5b549c7f7da0014eb87767b4d.webp",983,1390,{"page_no":14,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-26/22032c291c3a86c3fd277f184adc34f6.webp",982,1388,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-26/7515a5d25174eb96f514a821836089d4.webp",981,1387,{"page_no":19,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-26/fb7fb30afce27e1535214e70e0981671.webp",980,1385,{"list":161,"token":66},[162,169,176,182,188,194,201,208,214,220],{"doc_id":163,"doc_title":164,"file_type":136,"home_preview_img_url":165,"slug":166,"view_count":167,"category_name":40,"create_tm":168},148802,"Stencil Computations on AMD and Nvidia Graphics Processors - Performance and Tuning Strategies","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868866919/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=csKxpHxWdZgFmILb2Bzv2zjYbuQ%3D","stencil-computations-on-amd-and-nvidia-graphics-processors-performance-and-tuning-strategies",15,1787786236,{"doc_id":170,"doc_title":171,"file_type":136,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":40,"create_tm":175},85011,"From Custom-Fit to Portable: Bridging the Gap Between Synthesized and Engineered GPU Query Execution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809232499/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=nPjuy6rsm%2BuV%2FGN11OfGjHmaySY%3D","from-custom-fit-to-portable-bridging-the-gap-between-synthesized-and-engineered-gpu-query-execution",32,1784200241,{"doc_id":177,"doc_title":178,"file_type":136,"home_preview_img_url":179,"slug":180,"view_count":19,"category_name":40,"create_tm":181},686413,"Optimization of Linked List Prefix Computations on Multithreaded GPUs Using CUDA - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000814225/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=GJf3L6j5U2d8Lk9A%2BE5AR9zs2%2BE%3D","optimization-of-linked-list-prefix-computations-on-multithreaded-gpus-using-cuda-paper",1794042472,{"doc_id":183,"doc_title":184,"file_type":136,"home_preview_img_url":185,"slug":186,"view_count":24,"category_name":40,"create_tm":187},698894,"Taking GPU Programming Models to Task for Performance Portability - International Conference on Supercomputing (ICS ’25)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010468134/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=rfq8j0RPUBKsrBM2OOtVQWbSXbQ%3D","taking-gpu-programming-models-to-task-for-performance-portability-international-conference-on-supercomputing-ics-25",1794456534,{"doc_id":189,"doc_title":190,"file_type":136,"home_preview_img_url":191,"slug":192,"view_count":19,"category_name":40,"create_tm":193},698132,"Taking GPU Programming Models to Task for Performance Portability","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010206041/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=xAy%2FS%2BwaDS0UeG8gPKrUXRsLIbY%3D","taking-gpu-programming-models-to-task-for-performance-portability",1794448701,{"doc_id":195,"doc_title":196,"file_type":136,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":40,"create_tm":200},118653,"Electromagnetic simulations of antennas on GPUs for machine learning applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834619909/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=Uf59Z%2BQmz0qH3YSp6yMeDKesoCY%3D","electromagnetic-simulations-of-antennas-on-gpus-for-machine-learning-applications",29,1785684726,{"doc_id":202,"doc_title":203,"file_type":136,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":40,"create_tm":207},127508,"GPU-enabled Function-as-a-Service for Machine Learning Inference - paper - 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839565340/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=rMp8J3ymTTgyUU%2BVixK6OYDqjYQ%3D","gpu-enabled-function-as-a-service-for-machine-learning-inference-paper-2023",23,1785939536,{"doc_id":209,"doc_title":210,"file_type":136,"home_preview_img_url":211,"slug":212,"view_count":19,"category_name":40,"create_tm":213},685964,"Benchmarking GPUs to Tune Dense Linear Algebra - Benchmarking and Performance Tuning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000302289/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=cjdBZLmJ0leCQzuPc4Z61BGRhI0%3D","benchmarking-gpus-to-tune-dense-linear-algebra-benchmarking-and-performance-tuning",1794023900,{"doc_id":215,"doc_title":216,"file_type":136,"home_preview_img_url":217,"slug":218,"view_count":46,"category_name":40,"create_tm":219},83860,"Terastate-Per-Second QUBO Brute-Force on a Single GPU Matrix Prefix-Suffix Decomposition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809108467/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=NJl4G%2BTKB9MHm9Vj9BzpILWrFRg%3D","terastate-per-second-qubo-brute-force-on-a-single-gpu-matrix-prefix-suffix-decomposition",1784191030,{"doc_id":221,"doc_title":222,"file_type":136,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":40,"create_tm":226},120377,"Exploring Optimized CPU-Inference for Latency-Critical Machine Learning Tasks - Master’s thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835204707/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=fCMfbcMPVSDJn8Sn%2F1hki53TbuI%3D","exploring-optimized-cpu-inference-for-latency-critical-machine-learning-tasks-masters-thesis",25,1785729731]