We address the parallelization of the determination of all optimal solutions (dAOS) for the 1d array partitioning problem, an easy combinatorial optimization problem that may be solved by dynamic programming. It turns...
详细信息
ISBN:
(纸本)9781538635810
We address the parallelization of the determination of all optimal solutions (dAOS) for the 1d array partitioning problem, an easy combinatorial optimization problem that may be solved by dynamic programming. It turns out that the designeddAOS algorithm is a polyhedral algorithm (PA), i.e. a FOR-loop nest with affine loop bounds, whose iteration space that has to be scanned may be of exponential cardinality in the array size hence too time consuming. Thus, after a cardinality reducing procedure leading to an improved PA (IPA), we propose to parallelize the IPA through a specific approach. This latter first consists in a dependence analysis within the IPA leading to detect that all its loops are parallel. We then apply a loop interchange on the IPA in order to have a new IPA whose first loop has the largest number of parallel iterations. Another alternative consists in moving to the first position the loop whose number of iterations is the closest to the number of available processors. We detail an analysis of the theoretical performances of the derived parallel IPA by proposing several versions fitting the number of available processors and reducing the overheaddue to processor synchronizations.
暂无评论