29 std::cout << std::endl;
30 std::cout <<
"----------------------------------------------" << std::endl;
31 std::cout <<
"----------------------------------------------" << std::endl;
32 std::cout <<
"## Test :: BLAS 3 routines" << std::endl;
33 std::cout <<
"----------------------------------------------" << std::endl;
34 std::cout <<
"----------------------------------------------" << std::endl;
35 std::cout << std::endl;
37 int retval = EXIT_SUCCESS;
39 std::cout << std::endl;
40 std::cout <<
"----------------------------------------------" << std::endl;
41 std::cout << std::endl;
42 #ifdef VIENNACL_WITH_OPENCL
48 NumericT epsilon = 1.0E-11;
49 std::cout <<
"# Testing setup:" << std::endl;
50 std::cout <<
" eps: " << epsilon << std::endl;
51 std::cout <<
" numeric: double" << std::endl;
52 retval = run_test<NumericT>(epsilon);
53 if ( retval == EXIT_SUCCESS )
54 std::cout <<
"# Test passed" << std::endl;
58 std::cout << std::endl;
59 std::cout <<
"----------------------------------------------" << std::endl;
60 std::cout << std::endl;
63 std::cout << std::endl;
64 std::cout <<
"------- Test completed --------" << std::endl;
65 std::cout << std::endl;
viennacl::ocl::device const & current_device()
Convenience function for returning the active device in the current context.