ViennaCL - The Vienna Computing Library: tests/src/matrix_col_float.cpp Source File

ViennaCL - The Vienna Computing Library 1.7.1 Free open-source GPU-accelerated linear algebra and solver library. |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
matrix_col_float.cpp
Go to the documentation of this file.
1 /* =========================================================================
2 Copyright (c) 2010-2016, Institute for Microelectronics,
3 Institute for Analysis and Scientific Computing,
4 TU Wien.
5 Portions of this software are copyright by UChicago Argonne, LLC.
6
7 -----------------
8 ViennaCL - The Vienna Computing Library
9 -----------------
10
11 Project Head: Karl Rupp rupp@iue.tuwien.ac.at
12
13 (A list of authors and contributors can be found in the PDF manual)
14
15 License: MIT (X11), see file LICENSE in the base directory
16 ============================================================================= */
17
22 #include "matrix_float_double.hpp"
23
24
25 int main (int, const char **)
26 {
27 std::cout << std::endl;
28 std::cout << "----------------------------------------------" << std::endl;
29 std::cout << "----------------------------------------------" << std::endl;
30 std::cout << "## Test :: Matrix operations, column-major, single precision " << std::endl;
31 std::cout << "----------------------------------------------" << std::endl;
32 std::cout << "----------------------------------------------" << std::endl;
33 std::cout << std::endl;
34
35 double epsilon = 1e-4;
36 std::cout << "# Testing setup:" << std::endl;
37 std::cout << " eps: " << epsilon << std::endl;
38 std::cout << " numeric: float" << std::endl;
39 std::cout << " --- column-major ---" << std::endl;
40 if (run_test<viennacl::column_major, float>(epsilon) != EXIT_SUCCESS)
41 return EXIT_FAILURE;
42
43 std::cout << std::endl;
44 std::cout << "------- Test completed --------" << std::endl;
45 std::cout << std::endl;
46
47 return EXIT_SUCCESS;
48 }
49
main
int main(int, const char **)
Definition: matrix_col_float.cpp:25
matrix_float_double.hpp