#ifndef TEST_NORM_OPENCL_HH #define TEST_NORM_OPENCL_HH #include "test_opencl.hpp" template class bench_norm { 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 v; for (int i = 0; i