面向领域异构SoC的轮廓引导并行任务提取与执行
Profile-Guided Parallel Task Extraction and Execution for Domain Specific Heterogeneous SoC
摘要:
在本研究中,我们介绍了一种用C/C++编写的雷达和通信领域的用户应用程序自动转换的方法我们提出了一种在编译过程中使用屏障同步原语来检测用户应用程序二进制文件的方法,该方法使运行时系统能够在可用的计算资源。我们展示了我们的集成编译时和运行时流的能力,通过任务级并行和功能正确的执行现实生活中的应用程序。我们执行四个不同的应用程序,每个执行不同程度的任务级并行基于Xeon的多核同构处理器,我们的集成系统进行验证。我们使用建议的编译和代码转换方法来重新定位每个应用程序,以便在由三个ARM内核和一个FFT加速器组成的异构SoC上执行,该SoC在Xilinx Zynq UltraScale+平台上仿真。我们证明了我们的运行时的能力,处理应用程序的二进制,调度独立的任务在Zynq FPGA上的仿真SoC的可用计算资源的基础上,三种不同的调度算法。最后,我们演示了在Zynq FPGA上分别执行每个应用程序的任务级并行性,以及执行由同一应用程序的多个实例组成的工作负载场景,以及两个不同应用程序的混合,以展示实现应用程序和任务级并行执行的能力。我们的集成方法为应用程序开发人员提供了一条前进的道路,可以充分利用目标SoC,而无需用户成为硬件和并行编程专家。
英文摘要:
In this study, we introduce a methodology for automatically transforming user applications in the radar and communication domain written in C/C++ based on dynamic profiling to a parallel representation targeted for a heterogeneous SoC. We present our approach for instrumenting the user application binary during the compilation process with barrier synchronization primitives that enable runtime system schedule and execute independent tasks concurrently over the available compute resources. We demonstrate the capabilities of our integrated compile time and runtime flow through task-level parallel and functionally correct execution of real-life applications. We perform validation of our integrated system by executing four distinct applications each carrying various degrees of task level parallelism over the Xeon-based multi-core homogeneous processor. We use the proposed compilation and code transformation methodology to re-target each application for execution on a heterogeneous SoC composed of three ARM cores and one FFT accelerator that is emulated on the Xilinx Zynq UltraScale+ platform. We demonstrate our runtime's ability to process application binary, dispatch independent tasks over the available compute resources of the emulated SoC on the Zynq FPGA based on three different scheduling heuristics. Finally we demonstrate execution of each application individually with task level parallelism on the Zynq FPGA and execution of workload scenarios composed of multiple instances of the same application as well as mixture of two distinct applications to demonstrate ability to realize both application and task level parallel execution. Our integrated approach offers a path forward for application developers to take full advantage of the target SoC without requiring users to become hardware and parallel programming experts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。