Tree [b5d467] master /
History



File Date Author Commit
CL 2013-02-20 Karl Rupp Karl Rupp [258569] Fixed a warning (/* in comment) in CL/cl_gl_ext...
auxiliary 2013-02-21 Karl Rupp Karl Rupp [b5d467] Fixed remaining problems with inclusion of Phil...
build 2012-06-29 Karl Rupp Karl Rupp [38ff91] Initial sf.net commit of version 1.3.0 includin...
cmake 2012-12-02 Karl Rupp Karl Rupp [7c9859] Merge ssh://viennacl.git.sourceforge.net/gitroo...
doc 2013-02-13 Karl Rupp Karl Rupp [aaff1b] Updated version number for upcoming 1.4.1 release.
examples 2013-02-20 Karl Rupp Karl Rupp [a2866d] Updated copyright information to "2010-2013"
external 2012-06-29 Karl Rupp Karl Rupp [38ff91] Initial sf.net commit of version 1.3.0 includin...
matlab 2012-06-29 Karl Rupp Karl Rupp [38ff91] Initial sf.net commit of version 1.3.0 includin...
tests 2013-02-20 Karl Rupp Karl Rupp [7979fb] Added fast GEMM kernels for AMD Tahiti based on...
viennacl 2013-02-21 Karl Rupp Karl Rupp [b5d467] Fixed remaining problems with inclusion of Phil...
CMakeLists.txt 2013-02-13 Karl Rupp Karl Rupp [aaff1b] Updated version number for upcoming 1.4.1 release.
CTestConfig.cmake 2012-06-29 Karl Rupp Karl Rupp [38ff91] Initial sf.net commit of version 1.3.0 includin...
LICENSE 2012-12-02 Karl Rupp Karl Rupp [7c9859] Merge ssh://viennacl.git.sourceforge.net/gitroo...
README 2013-02-13 Karl Rupp Karl Rupp [aaff1b] Updated version number for upcoming 1.4.1 release.
changelog 2012-12-02 Karl Rupp Karl Rupp [7c9859] Merge ssh://viennacl.git.sourceforge.net/gitroo...
clean.sh 2012-12-02 Karl Rupp Karl Rupp [7c9859] Merge ssh://viennacl.git.sourceforge.net/gitroo...

Read Me

************************************************
****           ViennaCL Readme              ****
************************************************

Table of Contents
------------------
1. Requirements
2. Installation
3. Project Layout
4. Authors and Contact
A. License



1. Requirements
-----------------
ViennaCL requires the following:
 * A recent C++ compiler (e.g. gcc 4.x.x)
 * For accessing GPUs and multi-core CPUs: OpenCL (shared library and include files)
 * For building some of the tutorials: uBLAS (shipped with the Boost libraries)


2. Installation
-----------------

The first step is to extract the file:

Unix-based OS:
$> gunzip ViennaCL-1.4.1.tar.gz
$> tar -xf ViennaCL-1.4.1.tar
$> cd ViennaCL-1.4.1

Windows:
Extract the file using your favorite compressor/decompressor, e.g. 7-zip.

ViennaCL is a header-only library, therefore it is sufficient to copy the subfolder viennacl/ (holding the header files) into you project directory or your system include directory. For instructions on how to set the include paths correctly, please refer to the documentation of your compiler.

For building the examples, proceed as follows:

Unix-based clients:
 * change to the build directory:
   $> cd build
 * call cmake
   $> cmake ..
 * If CMake cannot find the OpenCL files, e.g. 'Could NOT find OPENCL (missing:  OPENCL_INCLUDE_DIR)', please set the paths manually, e.g.
   $> cmake -DOPENCL_INCLUDE_DIR=../CL ..
   or use the CMake GUI.
 * Use 'make' to build all examples:
   $> make
   (alternatively, you can build them individually via 'make blas1', 'make viennacl-info', etc.
 * Start the tutorials (optional)
   $> examples/blas1
   $> examples/custom-kernels
   $> examples/viennacl-info
   (...)

Windows:
 * Open the CMake GUI
 * Set the source code location ('Where is the source code:') to the extracted ViennaCL-1.x.x folder
 * Set the build folder ('Where to build the binaries:') to the subfolder build/ in the ViennaCL-1.x.x folder.
 * Click on 'Configure' and select your Compiler
 * Click on 'Configure' again
 * Click on 'Generate'
 * Navigate to the build/ folder, open the generated project files with your favorite IDE, and build them.

3. Project Layout
-----------------

---- ViennaCL-1.X.X
   |
   |-- auxiliary/ - (only in src-Edition) Auxiliary files (i.e. the OpenCL source code tree and the converter for the header files)
   | 
   |-- build/ - Build directory for building the examples
   |
   |-- CL/ - The OpenCL headers
   |
   |-- cmake/ - Additional CMake configuration files
   |
   |-- doc/ - Documentation (LaTeX and doxygen)
   | 
   |-- examples/ - Tutorial and benchmarking applications
        | 
        |-- testdata/ - Test data for the tutorials and benchmarks
        | 
        |-- benchmarks/ - A small benchmarking suite
        |
        |-- tutorial/ - Some tutorials explaining the usage of ViennaCL
        |
        |-- parameters/ - Parameter optimization environment
   | 
   |-- external/ - External libraries
   |
   |-- tests/ - Automated test suite using CTest
   | 
   |-- viennacl/ - The library source code


4. Contact
------------------------

For any technical questions related to ViennaCL, please use our mailing list: viennacl-support@lists.sourceforge.net
You may also use the forum provided by sourceforge.net: http://sourceforge.net/projects/viennacl/
For any other issues, please contact the project head Karl Rupp  at rupp@iue.tuwien.ac.at.

ViennaCL was developed under the aegis of the 'Institute for Microelectronics' at the 'Vienna University of Technology'.


A. License
------------
ViennaCL is distributed under the MIT (X11) License. See file LICENSE.