[petsc-users] [petsc-maint #107932] run a simple example ex19 in src/snes/examples/tutorials
Paul Mullowney
paulm at txcorp.com
Tue Mar 13 10:18:35 CDT 2012
I don't think PCJACOBI is working on the GPU yet.
I have some local fixes to make it work efficiently (without extra
copies), but changes won't be pushed too soon because the design is not
sufficiently general.
-Paul
> 2012/3/13 Xiangze Zeng <zengshixiangze at 163.com
> <mailto:zengshixiangze at 163.com>>
>
> I do set preallocation after setting the matrix type.
>
>
> Run with -info to make sure it is used (i.e. that the matrix type
> isn't changed later). Note that PCSOR does not run on the GPU, so it
> will do lots of copying (run with -log_summary to see). You should
> start by running PCJACOBI on the GPU.
>
>
> Zeng
>
> 在 2012-03-13 22:14:12,"Jed Brown" <jedbrown at mcs.anl.gov
> <mailto:jedbrown at mcs.anl.gov>> 写道:
>
> 2012/3/13 Xiangze Zeng <zengshixiangze at 163.com
> <mailto:zengshixiangze at 163.com>>
>
> 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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120313/4c40d705/attachment.htm>
More information about the petsc-users
mailing list