26 int main (
int,
const char **)
28 std::cout << std::endl;
29 std::cout <<
"----------------------------------------------" << std::endl;
30 std::cout <<
"----------------------------------------------" << std::endl;
31 std::cout <<
"## Test :: Matrix operations, column-major, double precision " << std::endl;
32 std::cout <<
"----------------------------------------------" << std::endl;
33 std::cout <<
"----------------------------------------------" << std::endl;
34 std::cout << std::endl;
36 #ifdef VIENNACL_WITH_OPENCL
40 double epsilon = 1e-12;
41 std::cout <<
"# Testing setup:" << std::endl;
42 std::cout <<
" eps: " << epsilon << std::endl;
43 std::cout <<
" numeric: double" << std::endl;
45 if (run_test<viennacl::column_major, double>(epsilon) != EXIT_SUCCESS)
49 std::cout << std::endl;
50 std::cout <<
"------- Test completed --------" << std::endl;
51 std::cout << std::endl;
viennacl::ocl::device const & current_device()
Convenience function for returning the active device in the current context.
int main(int, const char **)