首页> 外文会议>International conference on Euro-Par >Automated Transformation of GPU-Specific OpenCL Kernels Targeting Performance Portability on Multi-Core/Many-Core CPUs
【24h】

Automated Transformation of GPU-Specific OpenCL Kernels Targeting Performance Portability on Multi-Core/Many-Core CPUs

机译:针对多核/多核CPU的性能可移植性的GPU专用OpenCL内核的自动转换

获取原文

摘要

When adapting GPU-specific OpenCL kernels to run on multi-core/many-core CPUs, coarsening the thread granularity is necessary and thus extensively used. However, locality concerns exposed in GPU-specific OpenCL code are usually inherited without analysis, which may give side-effects on the CPU performance. When executing GPU-specific kernels on CPUs, local-memory arrays no longer match well with the hardware and the associated synchronizations are costly. To solve this dilemma, we actively analyze the memory access patterns by using array-access descriptors derived from GPU-specific kernels, which can thus be adapted for CPUs by removing all the unwanted local-memory arrays together with the obsolete barrier statements. Experiments show that the automated transformation can satisfactorily improve OpenCL kernel performances on Sandy Bridge CPU and Intel's Many-Integrated-Core coprocessor.
机译:当使GPU特定的OpenCL内核适应于在多核/多核CPU上运行时,必须粗化线程粒度,因此被广泛使用。但是,GPU特定的OpenCL代码中暴露的局部性问题通常无需分析即可继承,这可能会给CPU性能带来副作用。在CPU上执行GPU特定的内核时,本地内存阵列不再与硬件匹配,并且相关联的同步操作成本很高。为了解决这个难题,我们使用从GPU特定内核派生的数组访问描述符来主动分析内存访问模式,因此可以通过删除所有不需要的本地内存数组以及过时的barrier语句来将其适配于CPU。实验表明,自动转换可以在Sandy Bridge CPU和Intel的Many-Integrated-Core协处理器上令人满意地提高OpenCL内核性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号