39 template< 
typename NumericT >
 
   42    int retval = EXIT_SUCCESS;
 
   46    VclVector vcl_cont(3);
 
   54    for (
typename VclVector::const_iterator iter = vcl_cont.begin();
 
   55        iter != vcl_cont.end(); iter++)
 
   57       std::cout << *iter << std::endl;
 
   60    for (
typename VclVector::iterator iter = vcl_cont.begin();
 
   61        iter != vcl_cont.end(); iter++)
 
   63       std::cout << *iter << std::endl;
 
   72    std::cout << std::endl;
 
   73    std::cout << 
"----------------------------------------------" << std::endl;
 
   74    std::cout << 
"----------------------------------------------" << std::endl;
 
   75    std::cout << 
"## Test :: Iterators" << std::endl;
 
   76    std::cout << 
"----------------------------------------------" << std::endl;
 
   77    std::cout << 
"----------------------------------------------" << std::endl;
 
   78    std::cout << std::endl;
 
   80    int retval = EXIT_SUCCESS;
 
   82    std::cout << std::endl;
 
   83    std::cout << 
"----------------------------------------------" << std::endl;
 
   84    std::cout << std::endl;
 
   87       std::cout << 
"# Testing setup:" << std::endl;
 
   88       std::cout << 
"  numeric: float" << std::endl;
 
   89       retval = test<NumericT>();
 
   90       if ( retval == EXIT_SUCCESS )
 
   91          std::cout << 
"# Test passed" << std::endl;
 
   95    std::cout << std::endl;
 
   96    std::cout << 
"----------------------------------------------" << std::endl;
 
   97    std::cout << std::endl;
 
   99 #ifdef VIENNACL_WITH_OPENCL 
  105          std::cout << 
"# Testing setup:" << std::endl;
 
  106          std::cout << 
"  numeric: double" << std::endl;
 
  107          retval = test<NumericT>();
 
  108             if ( retval == EXIT_SUCCESS )
 
  109               std::cout << 
"# Test passed" << std::endl;
 
  113       std::cout << std::endl;
 
  114       std::cout << 
"----------------------------------------------" << std::endl;
 
  115       std::cout << std::endl;
 
  118    std::cout << std::endl;
 
  119    std::cout << 
"------- Test completed --------" << std::endl;
 
  120    std::cout << std::endl;
 
Implementation of the dense matrix class. 
viennacl::ocl::device const & current_device()
Convenience function for returning the active device in the current context. 
bool double_support() const 
ViennaCL convenience function: Returns true if the device supports double precision. 
The vector type with operator-overloads and proxy classes is defined here. Linear algebra operations ...