Experiences with Building Domain-Specific Compilation Plugins in Graal
Experiences with Building Domain-Specific Compilation Plugins in Graal
复制标题
在 Graal 中构建特定领域编译插件的经验
DOI:
10.1145/3132190.3132207
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Barrett C
中科院分区:
文献类型:
--
作者:
Barrett C
In this paper, we describe our experiences in co-designing a domain-specific compilation stack. Our motivation stems from the missed optimization opportunities we observed while implementing a computer vision library in Java. To tackle the performance shortcomings, we developed Indigo, a computer vision API co-designed with a compilation plugin for optimizing computer vision applications.Indigo exploits the extensible nature of the Graal compiler which provides invocation plugins, that replace methods with dedicated nodes, and generates machine code compatible with both the Java Virtual Machine (JVM) and the SIMD hardware unit. Our approach improves performance by up to 66.75× when compared to pure Java implementations and by up to 2.75× when compared to the original C++ implementation. These performance improvements are the result of low-level concurrency, idiomatic implementation of algorithms, and by keeping temporary objects in the wider vector unit registers.
登录
查看更多内容
DOI:
--
发表时间:
2005
期刊:
影响因子:
--
作者:
T. Kobayashi;T. Oshima
通讯作者:
T. Oshima
DOI:
10.1109/ccece.2010.5575190
发表时间:
2010
期刊:
CCECE 2010
影响因子:
--
作者:
J. Parri;J. Desmarais;Daniel Shapiro;M. Bolic;V. Groza
通讯作者:
V. Groza
DOI:
10.1145/2989225.2989236
发表时间:
2016
期刊:
Proceedings of the 12th Symposium on Dynamic Languages
影响因子:
--
作者:
Lukas Stadler;Adam Welc;Christian Humer;Mick J. Jordan
通讯作者:
Mick J. Jordan
DOI:
--
发表时间:
2015
期刊:
影响因子:
--
作者:
Chris Seaton
通讯作者:
Chris Seaton
DOI:
10.1007/978-3-319-54999-6_5
发表时间:
2015
期刊:
2014 IEEE International Symposium on Mixed and Augmented Reality (ISMAR)
影响因子:
--
作者:
James Clarkson;Christos Kotselidis;Gavin Brown;M. Luján
通讯作者:
M. Luján