首页> 外国专利> METHODS AND APPARATUS FOR DATA-PARALLEL EXECUTION OF OPERATIONS ON SEGMENTED ARRAYS

METHODS AND APPARATUS FOR DATA-PARALLEL EXECUTION OF OPERATIONS ON SEGMENTED ARRAYS

机译:分段阵列上数据并行执行的方法和装置

摘要

The invention relates to methods for executing operations on elements of a segmented array in a data-parallel fashion. The methods may be implemented in a computer system. According to the invention a computer performs the following: receiving a command to execute an operation on an argument represented by a segmented array, wherein the segmented array has an array of elements comprising the elements of plural segments, and an array of segment indicators indicative of which one or more elements belong to which one of the segments; distributing the elements of the segmented array into plural chunks of elements for execution in respective threads, wherein each chunk comprises a number of elements of one or more of the segments; and executing the operation on the elements of each chunk of elements in respective threads.
机译:本发明涉及用于以数据并行方式对分段阵列的元素执行操作的方法。该方法可以在计算机系统中实现。根据本发明,计算机执行以下操作:接收对由分段数组表示的自变量执行操作的命令,其中,该分段数组具有包括多个段的元素的元素的数组和指示以下内容的段指示符的数组:哪个或多个元素属于哪个细分市场;将分段数组的元素分配成多个元素块,以在相应线程中执行,其中每个块包括一个或多个段中的多个元素;对各个线程中的每个元素块的元素执行操作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号