<div dir="ltr">Okay, thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 19, 2015 at 4:43 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, May 19, 2015 at 4:30 PM, Justin Chang <span dir="ltr"><<a href="mailto:jychang48@gmail.com" target="_blank">jychang48@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<div><br></div><div>To somewhat follow up on a previous mail, I have a few questions regarding the total bytes transferred for the following Vec operations (assuming Vec size N and sequential mode):</div><div><br></div><div>VecTDot()</div><div>VecDot()</div><div>VecNorm()</div><div>VecScale()</div><div>VecSet()</div><div>VecAXPY()</div><div>VecAYPX()</div><div>VecWAXPY</div><div>VecPointwiseMult()</div><div><br></div><div>1) for the first three operations, I am loading two vectors so that's 2*N*8 bytes transferred. For storing, am I simply storing one scalar? Or am I individually storing all N components as they are being summed up?</div></blockquote><div><br></div></span><div>First 2 operations. No need to count the store of 1 scalar. </div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>2) for the next five operations where I now have a scalar, am I loading it only once or is it loaded N times?</div></blockquote><div><br></div></span><div>Once, so don't bother counting.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>3) Do any of the above operations "overlap" or depend on one another? For instance if my solver invokes VecTDot X times does it also invoke, say, VecPointwiseMult X times? </div></blockquote><div><br></div></span><div>No.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is all theoretically speaking (i.e., assuming I am bypassing the cache and write-allocate policy).<div><br></div><div>Thanks,</div><div>Justin<br><div><br></div><div><br><br></div>
</div>
</blockquote></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</font></span></div></div>
</blockquote></div><br></div>