首页> 外国专利> Variance analysis for translating CUDA code for execution by a general purpose processor

Variance analysis for translating CUDA code for execution by a general purpose processor

机译:用于转换CUDA代码以由通用处理器执行的方差分析

摘要

One embodiment of the present invention sets forth a technique for translating application programs written using a parallel programming model for execution on multi-core graphics processing unit (GPU) for execution by general purpose central processing unit (CPU). Portions of the application program that rely on specific features of the multi-core GPU are converted by a translator for execution by a general purpose CPU. The application program is partitioned into regions of synchronization independent instructions. The instructions are classified as convergent or divergent and divergent memory references that are shared between regions are replicated. Thread loops are inserted to ensure correct sharing of memory between various threads during execution by the general purpose CPU.
机译:本发明的一个实施例阐述了一种技术,该技术用于翻译使用并行编程模型编写的应用程序,以在多核图形处理单元(GPU)上执行,以由通用中央处理单元(CPU)执行。依赖于多核GPU特定功能的应用程序部分由转换程序转换,以由通用CPU执行。将应用程序划分为与同步无关的指令的区域。指令被分类为收敛的或发散的,并且复制在区域之间共享的发散的存储器引用。插入线程循环可确保在通用CPU执行过程中各个线程之间正确共享内存。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号