首页> 外国专利> MAPPING VECTOR REPRESENTATIONS ONTO A PREDICATED SCALAR MULTI-THREADED SYSTEM

MAPPING VECTOR REPRESENTATIONS ONTO A PREDICATED SCALAR MULTI-THREADED SYSTEM

机译:将向量表示映射到预定的标量多线程系统上

摘要

A system implementing a method for generating code for execution based on a SIMT model with parallel units of threads is provided. The system identifies a loop within a program that includes vector processing. The system generates instructions for a thread that include an instruction to set a predicate based on whether the thread of a parallel unit corresponds to a vector element. The system also generates instructions to perform the vector processing via scalar operations predicated on the predicate. As a result, the system generates instructions to perform the vector processing but to avoid branch divergence within the parallel unit of threads that would be needed to check whether a thread corresponds to a vector element.
机译:提供一种系统,该系统实现基于具有并行线程单元的SIMT模型来生成用于执行的代码的方法。该系统识别包括矢量处理的程序中的循环。该系统为线程生成指令,该指令包括基于并行单元的线程是否对应于向量元素来设置谓词的指令。系统还生成指令,以通过谓词上的标量运算执行矢量处理。结果,系统生成指令以执行矢量处理,但避免了在并行线程单元内检查线程是否对应于矢量元素所需的分支分歧。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号