Skip to content

Commit

Permalink
Deploying to gh-pages from @ 5b6a74a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnakumarg1984 committed Jul 21, 2023
1 parent b271409 commit 6149a61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion communicator_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; assert(root &lt; size());</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; <span class="keywordflow">if</span> (sizes.size() != size() and rank() == root)</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;Sizes and communicator size do not match on root&quot;</span>);</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rank() != root and sizes.size() != 0 and sizes.size() != size())</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rank() != root and !sizes.empty() and sizes.size() != size())</div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; <span class="keywordflow">throw</span> std::runtime_error(</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; <span class="stringliteral">&quot;Outside root, sizes should be either empty or match the number of procs&quot;</span>);</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (sizes.size() == size() and sizes[rank()] != <span class="keyword">static_cast&lt;</span><a class="code" href="namespacesopt.html#a47796df8f5f6bbffc226292ef1ca8196">t_int</a><span class="keyword">&gt;</span>(vec.size()))</div>
Expand Down
6 changes: 3 additions & 3 deletions tests_2communicator_8cc_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> result = world.scatter_one&lt;<a class="code" href="namespacesopt.html#a47796df8f5f6bbffc226292ef1ca8196">t_int</a>&gt;();</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; REQUIRE(result == world.rank() + 2);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> gather = world.gather(result);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; CHECK(gather.size() == 0);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; CHECK(gather.empty());</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; }</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; }</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
Expand Down Expand Up @@ -177,7 +177,7 @@
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; CHECK(result.size() == world.size() + 1);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordflow">for</span> (decltype(world.size()) i(0); i &lt;= world.size(); ++i) CHECK(result.count(i) == 1);</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; } <span class="keywordflow">else</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; CHECK(result.size() == 0);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; CHECK(result.empty());</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; }</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; SECTION(<span class="stringliteral">&quot;Gather an std::vector&quot;</span>) {</div>
Expand All @@ -191,7 +191,7 @@
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; CHECK(result[2 * i + 1] == i);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; } <span class="keywordflow">else</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; CHECK(result.size() == 0);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; CHECK(result.empty());</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; }</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; SECTION(<span class="stringliteral">&quot;All sum all over image&quot;</span>) {</div>
Expand Down
2 changes: 1 addition & 1 deletion wavelets_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; [sara, <a class="code" href="credible__region_8cc.html#a1cc6c6d663c5f0c6cbd63b69ca306721">rows</a>, <a class="code" href="credible__region_8cc.html#a4f8d1cebdd1d0572b0f5ff58464b9216">cols</a>, factor, comm, normalization](<a class="code" href="tests_2inpainting_8cc.html#a47c194cae73625ab3a13b62e4234f46f">Vector&lt;T&gt;</a> &amp;out, <a class="code" href="tests_2inpainting_8cc.html#a47c194cae73625ab3a13b62e4234f46f">Vector&lt;T&gt;</a> <span class="keyword">const</span> &amp;x) {</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; assert(<span class="keyword">static_cast&lt;</span><a class="code" href="namespacesopt.html#a7237c0991f6ec8c2bbdab8929b564964">t_uint</a><span class="keyword">&gt;</span>(x.size()) == <a class="code" href="credible__region_8cc.html#a1cc6c6d663c5f0c6cbd63b69ca306721">rows</a> * <a class="code" href="credible__region_8cc.html#a4f8d1cebdd1d0572b0f5ff58464b9216">cols</a> * factor);</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; out.resize(<a class="code" href="credible__region_8cc.html#a1cc6c6d663c5f0c6cbd63b69ca306721">rows</a> * <a class="code" href="credible__region_8cc.html#a4f8d1cebdd1d0572b0f5ff58464b9216">cols</a>);</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordflow">if</span> (sara.size() == 0)</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordflow">if</span> (sara.empty())</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; out.fill(0);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keyword">auto</span> signal = <a class="code" href="cppflow__model_8cc.html#aeeca20f5186519056cf53849afb07e6e">Image&lt;T&gt;::Map</a>(out.data(), <a class="code" href="credible__region_8cc.html#a1cc6c6d663c5f0c6cbd63b69ca306721">rows</a>, <a class="code" href="credible__region_8cc.html#a4f8d1cebdd1d0572b0f5ff58464b9216">cols</a>);</div>
Expand Down

0 comments on commit 6149a61

Please sign in to comment.