首页> 外国专利> Dynamic address mapping for conflict-free vector access

Dynamic address mapping for conflict-free vector access

机译:动态地址映射,实现无冲突的矢量访问

摘要

Conflict-free vector access of any constant stride is made by preselecting a storage scheme for each vector based on the accessing patterns to be used with that vector. A respective storage scheme for each vector, for example, is selected to provide conflict-free access for a predetermined stride S. The respective storage scheme involves a rotation or permutation of an addressed row of corresponding memory locations in N parallel modules in main memory. The amount of rotation or permutation is a predetermined function of the predetermined stride S and the row address. The rotation is performed by modulo-N addition, or the permutation is performed by a set of exclusive-OR gates. For a system in which N is a power of 2 such that n=log.sub.2 N, the predetermined stride S is factored into an odd component and an even component that is a power of 2. The factorization is easily performed by a shift and count procedure, a shifter and counter, or a priority encoder. The amount of rotation or permutation is a predetermined function of the even component and the row address, and is preferably obtained by selecting a field of the row address in accordance with the maximum of s and n, and masking the selected field with a mask generated from the minimum of s and n.
机译:通过基于要与该向量一起使用的访问模式为每个向量预先选择一个存储方案,可以实现任何恒定步幅的无冲突向量访问。例如,选择每个向量的相应存储方案以为预定的步幅S提供无冲突的访问。相应的存储方案包括主存储器中N个并行模块中相应存储位置的寻址行的旋转或置换。旋转量或排列量是预定步幅S和行地址的预定函数。旋转通过模N加法执行,或通过一组异或门执行置换。对于其中N是2的幂以使n = log2 N的系统,预定步幅S被分解为2的幂的奇数分量和偶数分量。移位和计数过程,移位器和计数器或优先级编码器。旋转量或置换量是偶数分量和行地址的预定函数,并且最好通过根据s和n的最大值选择行地址的字段,并用生成的掩码对选定的字段进行掩码来获得从s和n的最小值开始。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号