A device driver for the AB21 SoC in Supreme-K system
Youngho Kim, Eunji Lim, Shinyoung Ahn, Yoo-Mi Park · 2023
This paper presents an XPU device driver (XDD) that efficiently supports the OpenCL programming model and development tools for the AB21 SoC, a heterogeneous computational accelerator used in the homegrown prototype of the Supreme-K supercomputer. We propose a dynamic polling-based termination detection mechanism for parallel computing kernel tasks to improve the scheduling performance of OpenCL work groups in a split driver model architecture for heterogeneous compute accelerators connected to the host system via PCIe. Furthermore, we enhance the architecture of XDD to support debugging through the hardware DM of the RISC-V ISA core. This enhancement facilitates the efficient development and optimization of various parallel computing applications.