[petsc-users] ViennaCL

Karl Rupp rupp at mcs.anl.gov
Fri May 24 21:45:16 CDT 2013


Hi Mohammad,

there is a first interface to ViennaCL in the next-branch already. 
Configure with
   --download-viennacl
   --with-opencl-include=/path/to/OpenCL/includes
   --with-opencl-lib=/path/to/libOpenCL.so
and then use
   -vec_type viennacl
   -mat_type aijviennacl
as runtime options.

As this resides in next, it is still work in progress. If you encounter 
any problems during installation, please let us know. Also, OpenCL 
typically shows larger latency than CUDA, so you should have at least 
100k unknowns to see any performance gain.

Best regards,
Karli


On 05/24/2013 09:08 PM, Mohammad Mirzadeh wrote:
> Hi guys,
>
> Speaking of interfaces, is there any plan to provide interfaces to
> ViennaCL solvers?
>
> Tnx
> Mohammad



More information about the petsc-users mailing list