首页> 外国专利> An automated method for performing parallelization of sequential code and a computerized system adapted therefore

An automated method for performing parallelization of sequential code and a computerized system adapted therefore

机译:用于执行顺序代码的并行化的自动化方法以及因此而适用的计算机系统

摘要

Methods and apparatus are described for automatically transforming essentially sequential code into a plurality of codes which are to be executed in parallel to achieve the same or equivalent result to the sequential code. The parallelized code may be a task-level or coarse grain or functional parallelized code. User-defined task boundaries are determined in the input code to thereby define a plurality of tasks. It is then determined if the essentially sequential application code can be separated at at least one of said user-defined tasks boundaries and if so at least one code of the plurality of codes for at least one of said tasks is automatically generated.;Essentially sequential code can be transformed into pipelined code, in which the pipelined code has at least two processes or tasks, one of said processes or tasks generating/producing information (data) in a first time frame, for use/consumption by another of said processes or tasks in a second (later) time frame. In pipelining, processes using different data can be executed at the same or similar time.
机译:描述了用于将基本上顺序的代码自动地转换成多个代码的方法和装置,所述多个代码将被并行执行以实现与顺序的代码相同或等同的结果。并行化的代码可以是任务级别或粗粒度的代码,也可以是功能并行化的代码。在输入代码中确定用户定义的任务边界,从而定义多个任务。然后确定是否可以在所述用户定义的任务边界中的至少一个上分离基本顺序的应用程序代码,并且是否可以自动生成用于至少一个所述任务的多个代码中的至少一个代码。可以将代码转换为流水线代码,其中流水线代码具有至少两个进程或任务,其中一个进程或任务在第一时间范围内生成/生成信息(数据),以供另一个或多个进程使用/消费。第二(稍后)时间范围内的任务。在流水线中,可以在相同或相似的时间执行使用不同数据的过程。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号