首页> 外国专利> METHOD TO AVOID MEMORY BANK CONFLICTS AND PIPELINE CONFLICTS IN TENSOR MEMORY LAYOUT

METHOD TO AVOID MEMORY BANK CONFLICTS AND PIPELINE CONFLICTS IN TENSOR MEMORY LAYOUT

机译:避免内存银行冲突和流水线冲突的方法

摘要

A method for optimizing a layout of a tensor memory defines at least one hard constraint for allocating a plurality of input/output (I/O) vectors for reading and writing data for a task in the tensor memory. The at least one hard constraint is applied to determine one or more potential conflicts between the plurality of I/O vectors. One or more soft constraints aimed at mitigating the one or more potential conflicts between the I/O vectors may also be generated. The at least one hard constraint is applied in a maximum satisfiability (MaxSAT) solver. The one or more soft constraints may also be applied in the MaxSAT solver. The MaxSAT solver determines locations of the data in the tensor memory. The starting addresses of the input data to be read and of output data to be written by each of the I/O vectors are updated in the tensor memory.
机译:用于优化张量存储器的布局的方法定义了用于分配用于读取和写入Tensor存储器中的任务的多个输入/输出(I / O)向量的至少一个硬约束。 应用至少一个硬约束以确定多个I / O向量之间的一个或多个潜在冲突。 还可以生成旨在减轻I / O向量之间的一个或多个潜在冲突的一个或多个软限制。 至少一个硬约束以最大可靠性(MaxSAT)求解器应用。 一个或多个软约束也可以应用于MAXSAT求解器。 MAXSAT求解器确定要在张量存储器中的数据的位置。 要由每个I / O向量写入的输入数据的启动地址读取和由每个I / O向量写入的输出数据在张量存储器中更新。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号