On Fri, Apr 28, 2017 at 9:13 AM, Franco Milicchio <[email protected]> wrote:
> Dear all, > > I need to integrate ViennaCL into an existing project that uses PETSc, but > for backwards compatibility, we cannot recompile it. > Not recompiling your own project is fine. PETSc has an ABI. You just reconfigure/recompile PETSc with ViennaCL support. Then you can use -mat_type viennacl etc. Matt > Is there any simple interface to copy a Mat and Vec objects into a > ViennaCL matrix and vector ones? I am sorry if this is a trivial question, > but as far as I see, I cannot find any tutorials on these matters. > > Thanks for any help! > Franco > /fm > > -- > Franco Milicchio <[email protected]> > > Department of Engineering > University Roma Tre > https://fmilicchio.bitbucket.io/ > > -- 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
