[petsc-dev] No single precision support in ViennaCL?
Matthew Knepley
knepley at gmail.com
Mon Jan 20 19:02:48 CST 2014
On Mon, Jan 20, 2014 at 6:44 PM, Mani Chandra <mc0710 at gmail.com> wrote:
> Hi Karl,
>
> It looks like ViennaCL in petsc doesn't support single precision (which I
> need cause my (old) GPU doesn't support double precision). I get the
> following error:
>
> Cannot use viennacl withOUT double precision numbers, it is not coded for
> this capability
>
> Is there any way this can be enabled in the build?
>
This may be an oversight. Can you try adding
self.double = 0
to the constructor in config/PETSc/packages/viennacl.py?
Matt
> Thanks,
> Mani
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140120/615586a1/attachment.html>
More information about the petsc-dev
mailing list