首页> 外国专利> AUTOMATIC OPTIMIZATION FOR PROGRAMMING OF MANY-CORE ARCHITECTURES

AUTOMATIC OPTIMIZATION FOR PROGRAMMING OF MANY-CORE ARCHITECTURES

机译:面向多核架构的编程的自动优化

摘要

The present invention extends to methods, systems, and computer program products for automatically optimizing memory accesses by kernel functions executing on parallel accelerator processors. A function is accessed. The function is configured to operate over a multi-dimensional matrix of memory cells through invocation as a plurality of threads on a parallel accelerator processor. A layout of the memory cells of the multi-dimensional matrix and a mapping of memory cells to global memory at the parallel accelerator processor are identified. The function is analyzed to identify how each of the threads access the global memory to operate on corresponding memory cells when invoked from the kernel function. Based on the analysis, the function altered to utilize a more efficient memory access scheme when performing accesses to the global memory. The more efficient memory access scheme increases coalesced memory access by the threads when invoked over the multi-dimensional matrix.
机译:本发明扩展到用于通过在并行加速器处理器上执行的内核功能来自动优化存储器访问的方法,系统和计算机程序产品。访问功能。该功能被配置为通过作为并行加速器处理器上的多个线程进行调用,在存储单元的多维矩阵上进行操作。识别多维矩阵的存储单元的布局以及在并行加速器处理器处存储单元到全局存储器的映射。分析该函数以识别从内核函数调用时每个线程如何访问全局内存以在相应的存储单元上进行操作。根据分析,该功能已更改为在执行对全局内存的访问时利用更有效的内存访问方案。当在多维矩阵上调用时,效率更高的内存访问方案将增加线程的合并内存访问。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号