Skip to content

Commit

Permalink
Deployed 0f3995e with MkDocs version: 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bowling233 committed Jul 5, 2023
1 parent 8760b40 commit 6db318c
Show file tree
Hide file tree
Showing 8 changed files with 3,374 additions and 12 deletions.
12 changes: 6 additions & 6 deletions books/AIPP/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@ <h2 id="ch1-why-parallel-programming">Ch1. Why Parallel Programming?<a class="he
<!-- prettier-ignore-end -->

<ul>
<li>Two approaches to parallel programming: <ul>
<li>Two approaches to parallel programming:<ul>
<li>Task-parallelism</li>
<li>Data-parallelism</li>
<li>Explanaition: The first part of global sum example is task-parallelism, each core carries out roughtly the same oprations on its assigned elements. And the second part is data-parallelism, receiving and adding the cores' partial sums.</li>
Expand Down Expand Up @@ -1573,11 +1573,11 @@ <h2 id="ch1-why-parallel-programming">Ch1. Why Parallel Programming?<a class="he
<p>And we distinguish between three terms:</p>
<ul>
<li><strong>Concurrent</strong>: a program is one in which multiple tasks can be in progress
at any instant.</li>
at any instant.</li>
<li><strong>Parallel</strong>: a program is one in which multiple tasks cooperate closely
to solve a problem.</li>
to solve a problem.</li>
<li><strong>Distributed</strong>: a program may need to cooperate with other programs
to solve a problem.</li>
to solve a problem.</li>
</ul>
<!-- prettier-ignore-start -->
<div class="admonition tip">
Expand Down Expand Up @@ -1734,7 +1734,7 @@ <h3 id="21-background">2.1 Background<a class="headerlink" href="#21-background"
<h3 id="22-modifications-to-the-von-neumann-model">2.2 Modifications to the von Neumann Model<a class="headerlink" href="#22-modifications-to-the-von-neumann-model" title="Permanent link">&para;</a></h3>
<ul>
<li>Caching (CPU Cache)<ul>
<li>Terminology: <ul>
<li>Terminology:<ul>
<li>spatial locality, temporal locality</li>
<li>cache miss</li>
<li>write-through, write-back</li>
Expand Down Expand Up @@ -1985,7 +1985,7 @@ <h3 id="34-collective-communication">3.4 Collective Communication<a class="heade
</code></pre></div>
<ul>
<li>Key is the fifth argument <code>operator</code>.<ul>
<li>Find: <code>MPI_MAX</code>, <code>MPI_MIN</code>, <code>MPI_MAXLOC</code>, <code>MPI_MINLOC</code> </li>
<li>Find: <code>MPI_MAX</code>, <code>MPI_MIN</code>, <code>MPI_MAXLOC</code>, <code>MPI_MINLOC</code></li>
<li>Compute: <code>MPI_SUM</code>, <code>MPI_PROD</code></li>
<li>Bitwise: <code>MPI_BAND</code>, <code>MPI_BOR</code>, <code>MPI_BXOR</code></li>
<li>Logical: <code>MPI_LAND</code>, <code>MPI_LOR</code>, <code>MPI_LXOR</code></li>
Expand Down
Loading

0 comments on commit 6db318c

Please sign in to comment.