首页>
外国专利>
PARALLELIZING LOOPS WITH READ-AFTER-WRITE DEPENDENCIES
PARALLELIZING LOOPS WITH READ-AFTER-WRITE DEPENDENCIES
展开▼
机译:读写后依赖的并行循环
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼