[petsc-dev] VECCUSP needs to be zeroed?
Jed Brown
jedbrown at mcs.anl.gov
Wed Nov 9 14:01:40 CST 2011
On Wed, Nov 9, 2011 at 13:58, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> What tactic? Leave entries uninitialized? I'm just asking for PETSc to
> behave consistently. If CPU memory is zeroed when Vecs are created,
> the same should happen for GPU memory.
>
I agree that it should be consistent between the CPU and GPU. I could go
either way as to whether the default state was initialized or
uninitialized, but I think uninitialized should be available somehow and we
should check that the library behaves correctly in that case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111109/1a1d0295/attachment.html>
More information about the petsc-dev
mailing list