This is the developer repository of ViennaCL Benchmark GUI.
The ViennaCL Benchmark GUI is a fresh project aiming to create a cross-platform standalone benchmarking program for the ViennaCL library. It will utilize the capabilities of ViennaCL to perform hardware benchmarking and collection of users' test results.
The project is being developed by Namik Karovic as a part of 2014 Google Summer of Code.
ViennaCL was developed under the aegis of the Institute for Microelectronics at the Vienna University of Technology.
For any technical questions related to ViennaCL, please use our
mailing list.
The following packages need to be available on your system (similar versions may work):
When building with CMake, you should have Qt's bin folder in your path.
Also, you need to set the environment CMAKE_PREFIX_PATH
to the respective build configuration of Qt, for example to C:\Qt5\5.3\msvc2012_opengl
When using QMake, have QT_QMAKE_EXECUTABLE
system environment variable defined to point to qmake.exe location of your local Qt bin folder.
If you wish to enable OpenCL usage in the benchmark, these steps should be followed:
ViennaCL_Benchmark.pro
with Qt CreatorDefault CMakeLists.txt now supports both Qt4 and Qt5, with OpenCL support. The build will default to Qt5, but if you want to build with Qt4 set USE_QT5 variable to OFF.
Before you launch the CMake GUI, please make sure that the environment CMAKE_PREFIX_PATH
to the respective build configuration of Qt, for example to C:\Qt5\5.3\msvc2012_opengl
.
Also, make sure your Qt-libraries can be found by the system (see above).
git submodule update --init
to clone the external repository viennacl-dev.git clone https://github.com/libarchive/libarchive
cd libarchive && git checkout v3.1.2
git clone https://github.com/madler/zlib
../external/zlib
(the build directory is the same as the source directory). Use the CMake GUI (if you wish to link zlib statically on Windows, make sure to turn CMAKE_GNUtoMS ON): click on 'Configure' twice and then on 'Generate', open the Visual Studio project file and compile the zlibstatic
target. If you are using MinGW, call make
( or mingw32-make
on Windows ).../external/libarchive
(the build directory is the same as the source directory). Use CMake GUI (if you wish to link libarchive statically on Windows, make sure to turn CMAKE_GNUtoMS ON): set ZLIB_INCLUDE_DIR to ../external/zlib
and ZLIB_LIBRARY
to the zlibstatic.lib
(libzlib.lib
on Windows) in either ../external/zlib
or one of the subfolders (typically Release or Debug)CMAKE_PREFIX_PATH
. In the above example the compiler should be "Visual Studio 11". Note that by default Qt5 is shipped in 32bit, so you should not select 64-bit builds here.ViennaCL_Benchmark_Gui
in Visual Studio, or type 'make' in your MinGW terminal.ViennaCL_Benchmark
. Depending on your compiler, this may be located in the subfolder Debug
or Release
of your build directory.Make sure you have libqt5-dev
or libqt4-dev
installed through your package manager.
When using OpenCL you should also have opencl-headers
and a proprietary graphics driver installed.
git submodule update --init
to clone the external repository viennacl-dev.cd external && git clone https://github.com/madler/zlib && cd zlib && cmake . && make
cd .. && git clone https://github.com/libarchive/libarchive && cd libarchive && cmake . -DENABLE_BZip2=Off && make
cd ../.. && mkdir build && cd build
cmake ..
Use cmake .. -DUSE_QT5=Off
if you only have Qt4 available on your system. make
./ViennaCL_Benchmark
-When not using OpenCL: Blas3 benchmark is extremely slow. Takes about 5 minutes to complete, depending on the machine. Don't run it if you can't wait;
The main developer Namik is running a devblog dedicated to this project and tries to update it as much as possible. Check it out for detailed reports and updates on the development process.