High-performance tensor kernel compilation faces a two-sided challenge as accelerator hardware diverges. Kernel authors need a way to express target-specific execution schedules without manually encoding low-level pointer addressing, memory layouts, or assembly intrinsics, while compiler engineers need a way to realize schedules on new architectures without requiring custom lowering and transformation passes for every ISA. We present Teal, a two-sided programming model and compiler that treats both the target architecture's hardware specification and the kernel's schedule as programmable inputs to a shared compilation pipeline. On the machine side, a reusable dialect program specifies a target's processor description, memory hierarchy, instruction set, and synchronization protocols. On the client side, a kernel program composes that declared vocabulary over symbolic tensor views using generic operators, processor scopes, and data dependencies. Rather than recovering machine instructions from loop nests, the Teal compiler performs compositional instruction-centric lifting: it combines the machine dialect and client schedule to automatically derive and statically verify tile loops, physical data layouts, memory and register addresses, data dependencies, and synchronization validity. Supporting a new accelerator or instruction set therefore requires programming only its dialect specification and bindings, while reusing the lifting, verification, and composition compiler to provide a compact, statically checked kernel language for a client. We evaluate Teal across heterogeneous architectures and kernels, demonstrating that Teal can represent schedules that match or outperform hand-optimized vendor baselines while enabling high compiler reuse and rapid kernel synthesis on complex pipelines.


翻译:暂无翻译

0
下载
关闭预览

相关内容

编译器(Compiler),是一种计算机程序,它会将用某种编程语言写成的源代码(原始语言),转换成另一种编程语言(目标语言)。
综述:生成式通信,面向6G的可控生成新范式
专知会员服务
12+阅读 · 7月13日
【硬核书】Linux核心编程|Linux Kernel Programming,741页pdf
专知会员服务
80+阅读 · 2021年3月26日
八篇NeurIPS 2019【图神经网络(GNN)】相关论文
专知会员服务
44+阅读 · 2020年1月10日
【NeurIPS 2020】核基渐进蒸馏加法器神经网络
专知
13+阅读 · 2020年10月19日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
11+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
10+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
6+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
10+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
17+阅读 · 11月25日
相关VIP内容
综述:生成式通信,面向6G的可控生成新范式
专知会员服务
12+阅读 · 7月13日
【硬核书】Linux核心编程|Linux Kernel Programming,741页pdf
专知会员服务
80+阅读 · 2021年3月26日
八篇NeurIPS 2019【图神经网络(GNN)】相关论文
专知会员服务
44+阅读 · 2020年1月10日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员