Invention Grant
US08949852B2 Mechanism for increasing parallelization in computer programs with read-after-write dependencies associated with prefix operations 有权
增加与前缀操作相关联的读写依赖关系的计算机程序并行化的机制

Mechanism for increasing parallelization in computer programs with read-after-write dependencies associated with prefix operations
Abstract:
Some embodiments provide a system that increases parallelization in a computer program. During operation, the system obtains a binary associative operator and a ordered set of elements associated with a prefix operation in the computer program. Next, the system divides the elements into multiple sets of contiguous iterations based on a number of processors used to execute the computer program. The system then performs, in parallel on the processors, a set of local reductions on the contiguous iterations using the binary associative operator. Afterwards, the system calculates a set of boundary prefixes between the contiguous iterations using the local reductions. Finally, the system applies, in parallel on the processors, the boundary prefixes to the contiguous iterations using the binary associative operator to obtain a set of prefixes for the prefix operation.
Public/Granted literature
Information query
Patent Agency Ranking
0/0