首页> 外国专利> Tiling across loop nests with possible recomputation

Tiling across loop nests with possible recomputation

机译:跨循环嵌套平铺并可能重新计算

摘要

Described is a technology by which a series of loop nests corresponding to source code are detected by a compiler, with the series of loop nests tiled together, (thereby increasing the ratio of cache hits to misses in a multi-processor environment). The compiler transforms the series of loop nests into a plurality of tile loops within a controller loop, including using dependency analysis to determine which results from a tile loop need to be pre-computed before another tile loop. For dependency analysis, the compiler may use a directed acyclic graph as a high-level intermediate representation, and split the graph into sub-graphs each representing an array. The compiler uses descriptors processed from the graph to determine the controller loop and the tile loops within that controller loop.
机译:描述了一种技术,通过该技术,编译器可以检测到一系列与源代码相对应的循环嵌套,并将这些循环嵌套平铺在一起(从而提高了多处理器环境中缓存命中与未命中的比率)。编译器将一系列循环嵌套转换为控制器循环内的多个平铺循环,包括使用依赖关系分析来确定来自平铺循环的哪些结果需要在另一个平铺循环之前进行预先计算。对于依赖关系分析,编译器可以使用有向无环图作为高级中间表示,并将该图拆分为子图,每个子图代表一个数组。编译器使用从图形处理的描述符来确定控制器循环以及该控制器循环内的图块循环。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号