人工物理学用空间类型计算媒体的模块程序设计
Modular programming of computing media using spatial types, for artificial physics
摘要:
我们的长期目标是在由数百万个小型相同的处理单元(PE)组成的同构计算介质上执行通用计算。我们通过模拟膜的网络(SDN)的自我发展来进行,这意味着一种能够实现模拟简化的膜代理,分割和分割的人工物理定律的介质。这是一个困难的挑战:我们当前版本的SDN媒体使用具有77位状态和13878个门的PE。这种高层次的复杂性迫使我们制定出一个有效的和富有表现力的计划,为编程的媒介,本文的目标是目前它。PE的通信图是一个最大的平面图。比特场分布在2D中的三个轨迹上:这个平面图的顶点、边和面。它们构成三种数据类型,抽象出PE的集合。位之间的单纯接近度用于定义字段上的操作,从而实现“{ \it空间类型}"。表达式组合操作可以在逻辑电路中转换。由于使用归约运算来组合不同轨迹的场,因此实现了效率。这允许通过利用模拟物理时始终存在的对称性来分解计算。通过允许模块化的过程编程来实现表达能力:我们开发了一个库或可重用的函数,将字段映射到其他字段,而不是直接关注特定的目标更新函数。我们考虑两种极大平面图:具有各向同性分布的PE和具有六角格子结构的PE。第一种与无定形计算介质相比,具有更好的硬件可扩展性潜力;第二种与元胞自动机计算介质相比,具有更高的效率。
英文摘要:
Our long term goal is to execute General Purpose computation on homogeneous computing media consisting of millions of small identical Processing Elements (PE) communicating locally. We proceed by simulating the Self-Development of a Network (SDN) of membranes, and this implies a medium able to implement artificial physics laws that simulates simplified membrane-agents, dividing and homogenizing. This is a difficult challenge: our current version of SDN-media uses PEs with 77 bits of state and 13878 gates. This high level of complexity forced us to work out an efficient and expressive scheme for programming the medium, the goal of this paper it to present it. The PE's communication graph has to be a maximal planar graph. Fields of bits are spread in 2D, over three locus: the vertices, edges and faces of this planar graph. They constitute three data types, which abstract away the ensemble of PEs. The simplicial proximity between bits is used to define operations on fields, thus implementing "{\it spatial type}". Expression combining operations can be translated in logical circuits. The efficiency is achieved because fields of different locus are combined using reduction operation. This allows to factorize computation by exploiting the symmetries always present when simulating physics. The expressiveness is achieved by allowing a modular procedural programming: Instead of directly focusing on a specific target update function, we develop a library or reusable functions mapping fields to other fields. We consider two kinds of maximal planar graph: with isotropic distribution of PEs or with the hexagonal lattice structure. The first compares to amorphous computing medium and has a better potential for hardware scalability, the second compares with cellular automata computing medium, it is more efficient.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。