【24h】

Preemption of a CUDA Kernel Function

机译:抢占CUDA内核功能

获取原文
获取原文并翻译 | 示例

摘要

As graphics processing units (GPUs) gain adoption as general purpose parallel compute devices, several key problems need to be addressed in order for their use to become more practical and more user friendly. One such problem is special functions designed to execute on GPUs called kernel functions are non-preempt able. Once the kernel is issued to the GPU it will remain there till either execution finishes or it is killed. If the kernel uses all the execution units of the GPU, then no other kernels are able to be executed. This paper proposes a way to apply preemption to the executing kernel function. The kernel at some point in its execution will be able to save its state, halt execution, and free up the GPU's execution units for other kernels to run. After a given amount of time the halted kernel will be able to regain control of the GPU and complete its execution as if it never was halted in the first place. Experimental results have demonstrated the effectiveness of the proposed scheme.
机译:随着图形处理单元(GPU)被用作通用并行计算设备,需要解决几个关键问题,以使它们的使用变得更加实用和用户友好。这样的问题之一是设计为在GPU上执行的特殊功能,称为内核功能不可抢占。将内核发布给GPU后,它将一直保留在那里,直到执行完成或被终止。如果内核使用了GPU的所有执行单元,则其他内核将无法执行。本文提出了一种将抢占应用于执行中的内核函数的方法。内核在执行的某个时刻将能够保存其状态,暂停执行并释放GPU的执行单元以供其他内核运行。在给定的时间后,停止运行的内核将能够重新获得对GPU的控制,并完成其执行,就好像从未停止过运行一样。实验结果证明了该方案的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号