ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
matrix_row_int.cpp
Go to the documentation of this file.
1 /* =========================================================================
2  Copyright (c) 2010-2015, 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 
18 
24 #include "matrix_int.hpp"
25 
26 int main (int, const char **)
27 {
28  std::cout << std::endl;
29  std::cout << "----------------------------------------------" << std::endl;
30  std::cout << "----------------------------------------------" << std::endl;
31  std::cout << "## Test :: Matrix operations, row-major, integers " << std::endl;
32  std::cout << "----------------------------------------------" << std::endl;
33  std::cout << "----------------------------------------------" << std::endl;
34  std::cout << std::endl;
35 
36  std::cout << "# Testing setup:" << std::endl;
37  std::cout << " numeric: int" << std::endl;
38  std::cout << " --- row-major ---" << std::endl;
39  if (run_test<viennacl::row_major, int>() != EXIT_SUCCESS)
40  return EXIT_FAILURE;
41 
42  std::cout << "# Testing setup:" << std::endl;
43  std::cout << " numeric: long" << std::endl;
44  std::cout << " --- row-major ---" << std::endl;
45  if (run_test<viennacl::row_major, long>() != EXIT_SUCCESS)
46  return EXIT_FAILURE;
47 
48  std::cout << std::endl;
49  std::cout << "------- Test completed --------" << std::endl;
50  std::cout << std::endl;
51 
52  return EXIT_SUCCESS;
53 }
54 
int main(int, const char **)