#ifndef TEST_PROD_OPENCL_HH #define TEST_PROD_OPENCL_HH #include "test_opencl.hpp" template class bench_outer_prod { public: typedef test_opencl test; void run() { opencl::library lib; int passedOperations = 0; // get default device and setup context compute::device device = compute::system::default_device(); compute::context context(device); compute::command_queue queue(context, device); std::srand(time(0)); ublas::vector va; ublas::vector vb; ublas::matrix resultUBLAS; ublas::matrix resultOPENCL; for (int i = 0; i