#ifndef TEST_TRANS_OPENCL_HH #define TEST_TRANS_OPENCL_HH #include "test_opencl.hpp" template class bench_trans { 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::matrix a; ublas::matrix resultUBLAS; ublas::matrix resultOPENCL; for (int i = 0; i