首页> 外文学位 >Launch-time Optimization of OpenCL Kernels
【24h】

Launch-time Optimization of OpenCL Kernels

机译:OpenCL内核的启动时间优化

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

摘要

OpenCL kernels are compiled first before kernel arguments and launch geometry are provided later at launch time. Although some of these values remain constant during execution, the compiler is unable to optimize for them since it has no access to them.;We propose and implement a novel approach that identifies such arguments, geometry, and optimizations at compile time using a series of annotations. At launch time the annotations, combined with the actual values of the arguments and geometry, are processed and used to optimize the code, thereby improving kernel performance.;We measure the execution times of 16 benchmarks our approach. The results show that annotation processing is fast and that kernel performance is improved by a factor of up to 2.06X and on average by 1.22X. When considering the entire compilation flow, improvement can be up to 1.13X, but can also potentiality degrade to 0.44X, depending on the launch scenario.
机译:首先编译OpenCL内核,然后再在启动时提供内核参数和启动几何。尽管其中一些值在执行过程中保持不变,但是编译器无法对其进行优化,因为它无法访问它们。我们提出并实现了一种新颖的方法,该方法使用一系列的方法在编译时识别此类自变量,几何形状和优化。注释。在启动时,注释与参数和几何的实际值结合在一起,将被处理并用于优化代码,从而提高内核性能。我们测量了16种基准测试的执行时间。结果表明,批注处理速度很快,内核性能提高了2.06倍,平均提高了1.22倍。考虑整个编译流程时,改进可能高达1.13倍,但潜力也可能下降到0.44倍,具体取决于启动方案。

著录项

  • 作者

    Lee, Andrew Siu Doug.;

  • 作者单位

    University of Toronto (Canada).;

  • 授予单位 University of Toronto (Canada).;
  • 学科 Computer engineering.
  • 学位 M.A.S.
  • 年度 2017
  • 页码 91 p.
  • 总页数 91
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号