ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
matrix_product_float.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 
23 
24 
25 //
26 // -------------------------------------------------------------
27 //
28 int main()
29 {
30  std::cout << std::endl;
31  std::cout << "----------------------------------------------" << std::endl;
32  std::cout << "----------------------------------------------" << std::endl;
33  std::cout << "## Test :: BLAS 3 routines" << std::endl;
34  std::cout << "----------------------------------------------" << std::endl;
35  std::cout << "----------------------------------------------" << std::endl;
36  std::cout << std::endl;
37 
38  int retval = EXIT_SUCCESS;
39 
40  std::cout << std::endl;
41  std::cout << "----------------------------------------------" << std::endl;
42  std::cout << std::endl;
43  {
44  typedef float NumericT;
45  NumericT epsilon = NumericT(1.0E-3);
46  std::cout << "# Testing setup:" << std::endl;
47  std::cout << " eps: " << epsilon << std::endl;
48  std::cout << " numeric: float" << std::endl;
49  retval = run_test<NumericT>(epsilon);
50  if ( retval == EXIT_SUCCESS )
51  std::cout << "# Test passed" << std::endl;
52  else
53  return retval;
54  }
55  std::cout << std::endl;
56  std::cout << "----------------------------------------------" << std::endl;
57  std::cout << std::endl;
58 
59  std::cout << std::endl;
60  std::cout << "------- Test completed --------" << std::endl;
61  std::cout << std::endl;
62 
63 
64  return retval;
65 }
float NumericT
Definition: bisect.cpp:40
int main()