MULTITHREADED PARALLELISM WITH OPENMP

被引:3
作者
Rufai, Raimi [1 ]
Bozyigit, Muslim [1 ]
Alghamdi, Jaralla [1 ]
Ahmed, Moataz [1 ]
机构
[1] King Fahd Univ Petr & Minerals, Informat & Comp Sci Dept, Dhahran 31261, Saudi Arabia
关键词
OpenMP; multithreading; threads; OdinMP/CCp;
D O I
10.1142/S0129626405002283
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
While multithreaded programming is an effective way to exploit concurrency, multithreaded programs are notoriously hard to program, debug and tune for performance. In this paper, we present OpenMP shared memory programming as a viable alternative and a much simpler way to write multithreaded programs. We show through empirical results obtained by running, on a single processor machine, a simple matrix multiplication program written in OpenMP C that the drop in performance compared with the single threaded version even on a uniprocessor machine may be negligible. However, this is well compensated for by the increased programmer productivity resulting from the ease of programming, debugging, tuning and the relative ease of OpenMP skill acquisition.
引用
收藏
页码:367 / 378
页数:12
相关论文
共 9 条
[1]  
Akl S. G., 1997, PARALLEL COMPUTATION
[2]  
Brunschen C., 1999, THESIS
[3]  
Bull J. M., 1999, JOMP OPENMP INTERFAC
[4]  
Lu H., 1998, P SUP 98 HIGH PERF N
[5]  
Narlikax G., 1998, P SUP 98 HIGH PERF N
[6]  
OpenMP ARB, 1998, OPENMP C C APPL PROG
[7]  
Ousterhout J. K., 1996, INV TALK 1996 USENIX
[8]  
Rao K. V., 1998, OPEN MP TUTORIAL PRE, V98
[9]  
The OpenMP ARB, 1997, PROP IND STAND SPI S