Handling task dependencies under strided and aliased references
Document typeConference report
Rights accessRestricted access - publisher's policy
The emergence of multicore processors has increased the need for simple parallel programming models usable by nonexperts. The ability to specify subparts of a bigger data structure is an important trait of High Productivity Programming Languages. Such a concept can also be applied to dependency-aware task-parallel programming models. In those paradigms, tasks may have data dependencies, and those are used for scheduling them in parallel. However, calculating dependencies between subparts of bigger data structures is challenging. Accessed data may be strided, and can fully or partially overlap the accesses of other tasks. Techniques that are too approximate may produce too many extra dependencies and limit parallelism. Techniques that are too precise may be impractical in terms of time and space. We present the abstractions, data structures and algorithms to calculate dependencies between tasks with strided and possibly different memory access patterns. Our technique is performed at run time from a descriptio n of the inputs and outputs of each task and is not affected by pointer arithmetic nor reshaping. We demonstrate how it can be applied to increase programming productivity. We also demonstrate that scalability is comparable to other solutions and in some cases higher due to better parallelism extraction.
CitationPérez, J.; Badia, R.; Labarta, J. Handling task dependencies under strided and aliased references. A: International Conference on Supercomputing. "24th ACM International Conference on Supercomputing". Tsukuba: 2010, p. 263-274.
|Handling task d ... and aliased references.pdf||532.8Kb||Restricted access|