arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.12650cs.PLcs.PF
收藏

nomp: 构建领域特定编译器的框架

nomp: A Framework for Building Domain Specific Compilers

University of Illinois(伊利诺伊大学);Argonne National Laboratory(阿贡国家实验室);Qualcomm Research(高通研究);University of Moratuwa(莫拉图瓦大学);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);Virginia Tech(弗吉尼亚理工大学)
Thilina Ratnayaka, Kaushik Kulkarni, Nipuna Fernando, Pubudu Hewavitharana, Hirumal Priyashan, Poorna Gunathilaka, Nagitha Abeywickrema, Ravindu Hirimuthugoda, … 展开作者

Thilina Ratnayaka, Kaushik Kulkarni, Nipuna Fernando, Pubudu Hewavitharana, Hirumal Priyashan, Poorna Gunathilaka, Nagitha Abeywickrema, Ravindu Hirimuthugoda, Tarun Prabhu, Kirshanthan Sundararajah, Sanath Jayasena

AI总结:

提出nomp框架,通过基于pragma的编程模型和运行时,利用领域特定优化模式在保持性能与可移植性的同时提高程序员生产力。

摘要:

低层GPU编程模型(CUDA、HIP、OpenCL等)提供对程序数据流和执行计划的精细控制,以提取接近硬件的性能。然而,由于其语法和语义的复杂性,学习曲线陡峭,降低了程序员的生产力。另一方面,高层模型(OpenMP、OpenACC等)作为低层模型的抽象,旨在提高程序员生产力,但实现与低层模型相当的性能是一个挑战。这两种方法在生产效率、可移植性和性能之间存在固有的权衡,没有一种通用解决方案能同时实现三者。然而,我们相信通过重用特定领域的优化模式,可以在不牺牲性能和可移植性的前提下提高程序员生产力。为此,我们提出nomp:一个用于构建领域特定编译器的框架。nomp包含一个基于pragma的编程模型和一个能够根据用户提供的元数据进行代码转换和生成的运行时。

英文摘要:

The low-level GPU programming models (CUDA, HIP, OpenCL, etc.) provide detailed control of the data flow and execution plan of a program in order to extract close-to-metal performance. However, these have a steep learning curve due to the intricacies of their syntax and semantics. This reduces programmer productivity. On the other hand, high-level models (OpenMP, OpenACC, etc.) that serve as abstractions over the low-level models are aimed at improving programmer productivity but achieving performance on-par with the low-level models is a challenge. There are inherent trade-offs between productivity, portability and performance in both approaches and there is no one-size-fits-all solution which achieves all three simultaneously. However, we believe there is room to improve programmer productivity without sacrificing performance and portability by reusing optimization patterns specific to a given domain. To this end, we propose nomp: a framework for building domain specific compilers. nomp consists of a pragma based programming model and a runtime capable of code transformation and generation based on user provided metadata.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑