首页>
外国专利>
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.
展开▼