|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| CL/ | H | 20-Jan-2016 | - | 6,832 | 5,356 |
| build/ | H | 03-May-2022 | - | | |
| cmake/ | H | 20-Jan-2016 | - | 379 | 307 |
| doc/ | H | 20-Jan-2016 | - | 4,485 | 3,632 |
| examples/ | H | 03-May-2022 | - | 470,195 | 463,267 |
| external/ | H | 20-Jan-2016 | - | | |
| libviennacl/ | H | 03-May-2022 | - | 6,177 | 4,344 |
| tests/src/ | H | 03-May-2022 | - | 43,807 | 31,629 |
| viennacl/ | H | 20-Jan-2016 | - | 114,423 | 80,407 |
| LICENSE | H A D | 20-Jan-2016 | 1.4 KiB | 25 | 21 |
| README | H A D | 20-Jan-2016 | 4.2 KiB | 123 | 96 |
| changelog | H A D | 20-Jan-2016 | 40.1 KiB | 426 | 385 |
README
1************************************************
2**** ViennaCL Readme ****
3************************************************
4
5Table of Contents
6------------------
71. Requirements
82. Installation
93. Project Layout
104. Authors and Contact
11A. License
12
13
14
151. Requirements
16-----------------
17ViennaCL requires the following:
18 * A recent C++ compiler (e.g. gcc 4.x.x)
19 * For accessing GPUs and multi-core CPUs: OpenCL (shared library and include files) or CUDA if only targeting NVIDIA GPUs
20 * For building some of the tutorials: Armadillo, Eigen, MTL4, or uBLAS (shipped with the Boost libraries).
21
22
232. Installation
24-----------------
25
26The first step is to extract the file:
27
28Unix-based OS:
29$> gunzip ViennaCL-1.7.1.tar.gz
30$> tar -xf ViennaCL-1.7.1.tar
31$> cd ViennaCL-1.7.1
32
33Windows:
34Extract the file using your favorite compressor/decompressor, e.g. 7-zip.
35
36ViennaCL 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.
37
38Manual builds of the examples are possible and described in the manual.
39In the following we describe the use of CMake:
40
41Unix-based clients:
42 * change to the build directory:
43 $> cd build
44
45 * call cmake
46 $> cmake ..
47
48 * If CMake cannot find the OpenCL files, e.g. 'Could NOT find OPENCL (missing: OPENCL_INCLUDE_DIR)', please set the paths manually, e.g.
49 $> cmake .. -DOPENCL_INCLUDE_DIR=../CL
50 Or, use the CMake GUI.
51 $> cmake-gui
52 Or, disable openCL if you are not planning to use parallel programming components
53 $> cmake .. -DENABLE_OPENCL=0
54
55 * Use 'make' to build all examples:
56 $> make
57 (alternatively, you can build them individually via 'make blas1', 'make viennacl-info', etc.
58
59 * Start the tutorials (optional)
60 $> examples/blas1
61 $> examples/custom-kernels
62 $> examples/viennacl-info
63 (...)
64
65Windows:
66 * Open the CMake GUI
67 * Set the source code location ('Where is the source code:') to the extracted ViennaCL-1.x.x folder
68 * Set the build folder ('Where to build the binaries:') to the subfolder build/ in the ViennaCL-1.x.x folder.
69 * Click on 'Configure' and select your Compiler
70 * Click on 'Configure' again
71 * Click on 'Generate'
72 * Navigate to the build/ folder, open the generated project files with your favorite IDE, and build them.
73
743. Project Layout
75-----------------
76
77---- ViennaCL-1.X.X
78 |
79 |-- auxiliary/ - (only in src-Edition) Auxiliary files (i.e. the OpenCL source code tree and the converter for the header files)
80 |
81 |-- build/ - Build directory for building the examples
82 |
83 |-- CL/ - The OpenCL headers
84 |
85 |-- cmake/ - Additional CMake configuration files
86 |
87 |-- doc/ - Documentation (LaTeX and doxygen)
88 |
89 |-- examples/ - Tutorial and benchmarking applications
90 |
91 |-- testdata/ - Test data for the tutorials and benchmarks
92 |
93 |-- benchmarks/ - A small benchmarking suite
94 |
95 |-- tutorial/ - Some tutorials explaining the usage of ViennaCL
96 |
97 |-- parameters/ - Parameter optimization environment
98 |
99 |-- external/ - External libraries
100 |
101 |-- libviennacl/ - Shared library for interfacing some BLAS functionality of ViennaCL from languages other than C++
102 |
103 |-- tests/ - Automated test suite using CTest
104 |
105 |-- viennacl/ - The library source code
106
107
1084. Contact
109------------------------
110
111For any technical questions related to ViennaCL, please use our support mailing list: viennacl-support@lists.sourceforge.net (https://lists.sourceforge.net/lists/listinfo/viennacl-support)
112The developer mailinglist is viennacl-devel@lists.sourceforge.net, for which you can subscribe at https://lists.sourceforge.net/lists/listinfo/viennacl-devel
113You may also use the forum provided by sourceforge.net: http://sourceforge.net/projects/viennacl/
114For any other issues, please contact the project head Karl Rupp at rupp@iue.tuwien.ac.at.
115
116ViennaCL was developed under the aegis of the 'Institute for Microelectronics' at the 'Vienna University of Technology'.
117
118
119A. License
120------------
121ViennaCL is distributed under the MIT (X11) License. See file LICENSE.
122
123