Just-In-Time Compiler System in Aspect-Oriented Programming based Building Block Platform for constructing Domain-Specific Language for HPC Application
Osamu Ishimura, Yoshihide Yoshimoto · 2022
The recent complexity of high-performance computing (HPC) systems to create efficient programs is becoming more difficult because of the lagging of processors' performance. Domain Specific Language (DSL) is a promising approach that offers a productive environment and creates a high-efficient program. However, DSLs lack portability and make developers incur high costs. An Aspect-Oriented Programming (AOP) based platform for building DSL processing systems is proposed to solve the problem. By combining reusable aspect modules, DSL processing systems can be built into each HPC system to assist developers in creating programs with various systems config-urations. The platform is achieved by putting the application programming interface into the user's kernel code and controlling the kernel's execution according to the platform conventions. However, the platform has some problems. It is impossible to perform optimization that intervenes in the kernel code. It is also impossible to use SIMD and GPGPU efficiently. This study proposes a modification of the kernel code by introducing a Just-In-Time (JIT) compilation system into the platform and using SIMD and GPGPU. We also created benchmarks and confirmed a performance improvement of 94 % for reducing the execution time compared with the based platform and an improvement of 9% compared with handwritten code for auto compiler optimization.