Hi, Jed.
At the beginning and end of  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. My PCTYPE 
is sor. And 2000 iterations.  Do you have any suggestion about this?


Zeng


? 2012-03-13 20:12:09?"Jed Brown" <jedbrown at mcs.anl.gov> ???

2012/3/13 Xiangze Zeng <zengshixiangze at 163.com>

After I  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. 


How are you measuring? What preconditioner are you using and how many 
iterations are typically required?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120313/92be17eb/attachment.htm>

Reply via email to