【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的执行单元。在给定的时间之后,停止的内核将能够重新获得GPU的控制并完成其执行,就像它首先停止一样。实验结果表明了该方案的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号