Software-Level GPU Preemption via OpenCL Kernel Scheduling in User Space 


Vol. 52,  No. 9, pp. 727-737, Sep.  2025
10.5626/JOK.2025.52.9.727


PDF

  Abstract

As AI becomes increasingly prevalent in modern embedded systems, ensuring real-time performance for deep neural network (DNN) inference using GPUs has become a critical challenge. However, since the GPU is a shared resource with high preemption costs, process-level preemption is not effectively supported. As a result, priority inversion occurs during resource contention among processes, complicating the implementation of real-time multitasking in embedded systems utilizing GPUs. Previous studies have explored hardware-dependent approaches to GPU preemption, but these methods often lack portability and scalability. To overcome these limitations, this study proposes a software-level GPU preemption technique that enables preemption without relying on hardware-specific mechanisms. The proposed method intercepts GPU kernel execution requests from processes and forwards them to a user-space OpenCL kernel scheduler, which controls the execution order of GPU kernels based on process priorities. This approach reduces delays for high-priority processes caused by lower-priority ones. Experimental results confirm that the proposed method achieves high execution determinism.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

N. Lee, G. Park, W. Seo, S. Hong, "Software-Level GPU Preemption via OpenCL Kernel Scheduling in User Space," Journal of KIISE, JOK, vol. 52, no. 9, pp. 727-737, 2025. DOI: 10.5626/JOK.2025.52.9.727.


[ACM Style]

Namcheol Lee, Geonha Park, Woobean Seo, and Seongsoo Hong. 2025. Software-Level GPU Preemption via OpenCL Kernel Scheduling in User Space. Journal of KIISE, JOK, 52, 9, (2025), 727-737. DOI: 10.5626/JOK.2025.52.9.727.


[KCI Style]

이남철, 박건하, 서우빈, 홍성수, "사용자 공간에서의 OpenCL 커널 스케줄링을 통한 소프트웨어 수준 GPU 선점 기법," 한국정보과학회 논문지, 제52권, 제9호, 727~737쪽, 2025. DOI: 10.5626/JOK.2025.52.9.727.


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr