首页> 外国专利> Automatic communication and optimization of multi-dimensional arrays for many-core coprocessor using static compiler analysis

Automatic communication and optimization of multi-dimensional arrays for many-core coprocessor using static compiler analysis

机译:使用静态编译器分析为多核协处理器自动通信和优化多维数组

摘要

There are provided source-to-source transformation methods for a multi-dimensional array and/or a multi-level pointer for a computer program. A method includes minimizing a number of holes for variable length elements for a given dimension of the array and/or pointer using at least two stride values included in stride buckets. The minimizing step includes modifying memory allocation sites, for the array and/or pointer, to allocate memory based on the stride values. The minimizing step further includes modifying a multi-dimensional memory access, for accessing the array and/or pointer, into a single dimensional memory access using the stride values. The minimizing step also includes inserting offload pragma for a data transfer of the array and/or pointer prior as at least one of a single-dimensional array and a single-level pointer. The data transfer is from a central processing unit to a coprocessor over peripheral component interconnect express.
机译:提供了用于计算机程序的多维数组和/或多级指针的源到源转换方法。一种方法包括使用步幅桶中包括的至少两个步幅值来最小化用于给定尺寸的阵列和/或指针的可变长度元件的孔数。最小化步骤包括修改用于阵列和/或指针的存储器分配位置,以基于步幅值来分配存储器。最小化步骤还包括使用跨步值将用于访问阵列和/或指针的多维存储器访问修改为一维存储器访问。最小化步骤还包括在作为一维数组和单级指针中的至少一个之前,插入用于数组和/或指针的数据传输的卸载指令。数据通过外围组件互连Express从中央处理单元传输到协处理器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号