📄 88.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body { font-family: Verdana, Arial, Helvetica, sans-serif;} a.at-term { font-style: italic; } </style> <title>Advantages of OpenMP</title> <meta name="Generator" content="ATutor"> <meta name="Keywords" content=""></head><body> <p>Some advantages of OpenMP are:</p>
<ul>
<li>OpenMP is comparatively easy to implement; in particular, it is easy to refit an existing serial code for parallel execution. </li>
<li>The same source code can be used for both serial and parallel versions.</li>
<li>More natural for shared-memory architectures.</li>
<ul><li>In principle, OpenMP should allow better performance than MPI in an SMP system, for certain types of problems. For example, in a simple loop parallelization, where each OpenMP thread needs only to read from and write to a different part of the shared memory pool, the
parallel efficiency should be very high. In such a case the main limiting factors will be the overhead of spawning the team of threads and the overall bandwidth of the shared memory bus.</li>
</ul>
<li>Run-time (dynamic) scheduling.</li>
<ul>
<li>Load balancing is often easier to achieve than with MPI.</li>
</ul>
<li>Useful for both fine- and coarse-grained problems.</li>
</ul></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -