首页> 外国专利> Accelerating generic loop iterators using speculative execution

Accelerating generic loop iterators using speculative execution

机译:使用推测执行来加速通用循环迭代器

摘要

A method, a system and a computer program product for effectively accelerating loop iterators using speculative execution of iterators. An Efficient Loop Iterator (ELI) utility detects initiation of a target program and initiates/spawns a speculative iterator thread at the start of the basic code block ahead of the code block that initiates a nested loop. The ELI utility assigns the iterator thread to a dedicated processor in a multi-processor system. The speculative thread runs/executes ahead of the execution of the nested loop and calculates indices in a corresponding multidimensional array. The iterator thread adds all the precomputed indices to a single queue. As a result, the ELI utility effectively enables a multidimensional loop to be replaced by a single dimensional loop. At the beginning of (or during) each iteration of the iterator, the ELI utility “dequeues” an entry from the queue to use the entry to access the array upon which the ELI utility iterates. The ELI utility performs concurrent iterations on the array by using the queue entries.
机译:一种用于使用迭代器的推测执行来有效地加速循环迭代器的方法,系统和计算机程序产品。有效循环迭代器(ELI)实用程序检测目标程序的启动,并在启动嵌套循环的代码块之前的基本代码块的开始处启动/生成推测性迭代器线程。 ELI实用程序将迭代器线程分配给多处理器系统中的专用处理器。推测线程在嵌套循环执行之前运行/执行,并在相应的多维数组中计算索引。迭代器线程将所有预先计算的索引添加到单个队列中。结果,ELI实用程序有效地将多维循环替换为一维循环。在迭代器的每次迭代开始时(或期间),ELI实用程序从队列中“出队”一个条目,以使用该条目访问ELI实用程序对其进行迭代的阵列。 ELI实用程序通过使用队列条目在阵列上执行并发迭代。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号