Accelerating Legacy String Kernels via Bounded Automata Learning
Accelerating Legacy String Kernels via Bounded Automata Learning
复制标题
通过有界自动机学习加速遗留字符串内核
DOI:
--
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Westley Weimer
中科院分区:
文献类型:
--
作者:
K. Angstadt;Jean;Westley Weimer
The adoption of hardware accelerators, such as FPGAs, into general-purpose computation pipelines continues to rise, but programming models for these devices lag far behind their CPU counterparts. Legacy programs must often be rewritten at very low levels of abstraction, requiring intimate knowledge of the target accelerator architecture. While techniques such as high-level synthesis can help port some legacy software, many programs perform poorly without manual, architecture-specific optimization. We propose an approach that combines dynamic and static analyses to learn a model of functional behavior for off-the-shelf legacy code and synthesize a hardware description from this model. We develop a framework that transforms Boolean string kernels into hardware descriptions using techniques from both learning theory and software verification. These include Angluin-style state machine learning algorithms, bounded software model checking with incremental loop unrolling, and string decision procedures. Our prototype implementation can correctly learn functionality for kernels that recognize regular languages and provides a near approximation otherwise. We evaluate our prototype tool on a benchmark suite of real-world, legacy string functions mined from GitHub repositories and demonstrate that we are able to learn fully-equivalent hardware designs in 72% of cases and close approximations in another 11%. Finally, we identify and discuss challenges and opportunities for more general adoption of our proposed framework to a wider class of function types.
DOI:
10.1109/micro.2018.00079
发表时间:
2018
期刊:
2018 51st Annual IEEE/ACM International Symposium on Microarchitecture (MICRO
影响因子:
--
作者:
Angstadt, Kevin;Subramaniyan, Arun;Sadredini, Elaheh;Rahimi, Reza;Skadron, Kevin;Weimer, Westley;Das, Reetuparna
通讯作者:
Das, Reetuparna