Title :
Parallelization using task parallel library with task-based programming model
Author :
Xinhong Hei ; Jinlong Zhang ; Bin Wang ; Haiyan Jin ; Giacaman, Nasser
Author_Institution :
Sch. of Comput. Sci. & Eng., Xi´an Univ. of Technol., Xi´an, China
Abstract :
In order to reduce the complexity of traditional multithreaded parallel programming, this paper explores a new task-based parallel programming using the Microsoft .NET Task Parallel Library (TPL). Firstly, this paper proposes a custom data partitioning optimization method to achieve an efficient data parallelism, and applies it to the matrix multiplication. The result of the application supports the custom data partitioning optimization method. Then we develop a task parallel application: Image Blender, and this application explains the efficiency and pitfall aspects associated with task parallelism. Finally, the paper analyzes the performance of our applications. Experiments results show that TPL can dramatically alleviate programmer burden and boost the performance of programs with its task-based parallel programming mechanism.
Keywords :
matrix multiplication; multi-threading; software libraries; Microsoft .NET task parallel library; TPL; custom data partitioning optimization method; data parallelism; image blender; matrix multiplication; multithreaded parallel programming; task parallelism; task-based parallel programming mechanism; task-based programming model; Computational modeling; Data models; Educational institutions; Instruction sets; Parallel processing; Parallel programming; Data parallelism; Parallel programming; TPL; Task parallelism; Task-based;
Conference_Titel :
Software Engineering and Service Science (ICSESS), 2014 5th IEEE International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4799-3278-8
DOI :
10.1109/ICSESS.2014.6933653