<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>Hi, Jed.</div><div>At the beginning and end of &nbsp;the codes for setting the matrices values, I add "printf", and compute the time of this period. It is much longer than that when I don't use the GPU. I just guess the time is used for copping data.&nbsp;My PCTYPE is sor. And 2000 iterations. &nbsp;Do you have any suggestion about this?</div><div><br></div><div>Zeng</div><div><br></div>ÔÚ 2012-03-13 20:12:09£¬"Jed&nbsp;Brown"&nbsp;&lt;<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>&gt; Ð´µÀ£º<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div class="gmail_quote">2012/3/13 Xiangze Zeng <span dir="ltr">&lt;<a href="mailto:zengshixiangze@163.com">zengshixiangze@163.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>After I&nbsp;&nbsp;configure PETSc using --with-precision=single, I can run both ex19 and my own code. Good news! But it seems lots of time is using for copping the data from CPU to GPU.&nbsp;</div><div></div></blockquote></div><br>
<div>How are you measuring? What preconditioner are you using and how many iterations are typically required?</div>
</blockquote></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>