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