【24h】

Spatial Complexity of Reversibly Computable DAG

机译:可逆计算DAG的空间复杂度

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

摘要

In this paper we address the issue of making a program reversible in terms of spatial complexity. Spatial complexity is the amount of memory/register locations required for performing the computation in both forward and backward directions. Spatial complexity has important relationship with the intrinsics power consumption required at run time; this was our primary motivation. But it has also important relationship with the trade off between storing or recomputing reused intermediate values, also known as the rematerialization problem in the context of compiler register allocation, or the checkpointing issue in the general case. We present a lower bound of the spatial complexity of a DAG (directed acyclic graph) with reversible operations, as well as a heuristic aimed at finding the minimum number of registers required for a forward and backward execution of a DAG . We define energetic garbage as the additional number of registers needed for the reversible computation with respect to the original computation. We have run experiments that suggest that the garbage size is never more than 50% of the DAG size for DAGs with unary/binary operations.
机译:在本文中,我们解决了使程序在空间复杂度方面可逆的问题。空间复杂度是在向前和向后两个方向上执行计算所需的存储器/寄存器位置的数量。空间复杂度与运行时所需的内部功耗有重要关系;这是我们的主要动机。但是,它与存储或重新计算重用中间值之间的折衷关系也很重要,在中间值也被称为编译器寄存器分配中的重新实现问题,或者通常情况下是检查点问题。我们提出了具有可逆操作的DAG(有向无环图)的空间复杂度的下限,以及旨在寻找向前和向后执行DAG所需的最小寄存器数的启发式方法。我们将高能垃圾定义为相对于原始计算而言可逆计算所需的额外寄存器数。我们进行的实验表明,对于使用一元/二进制操作的DAG,垃圾大小永远不会超过DAG大小的50%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号