How to use the OpenCL linear solvers

From KratosWiki
(Difference between revisions)
Jump to: navigation, search
(Compiling the library)
Line 9: Line 9:
 
AMD stream implementation. Unfortunately the installation of the OpenCL itself may be different depending on the hardware to be run on
 
AMD stream implementation. Unfortunately the installation of the OpenCL itself may be different depending on the hardware to be run on
  
* General Installation procedure
+
* General Installation procedure -- suitable for X86 CPU and for GPUs
  
* Installation Procedure SPECIFIC FOR NVIDIA HARDWARE
+
* Installation procedure ATI GPUs (this is only necessary to use ATI gpus)
 +
 
 +
* Installation Procedure NVIDIA GPUs

Revision as of 08:47, 22 June 2010

How to use the OpenCL Linear Solvers

Experimental support was added to the Kratos to use modern GPU (or many-core CPUs) basing on the OpenCL programming model.

In order to provide basic linear system solving capabilities, the Kratos uses the ViennaCL library, recently developed at Vienna TU by Ing. Karl Rupp and others. The library, which features a MIT like license, can be currently downloaded from the Kratos SVN.

Compiling the library

The installation of the library requires the presence of an OpenCL compiler on the system, and of driver support to run on GPUs. If no GPU is present, a fallback on the CPU is provided using the AMD stream implementation. Unfortunately the installation of the OpenCL itself may be different depending on the hardware to be run on

  • General Installation procedure -- suitable for X86 CPU and for GPUs
  • Installation procedure ATI GPUs (this is only necessary to use ATI gpus)
  • Installation Procedure NVIDIA GPUs
Personal tools
Categories