From f7199b831f847340f0921ef2140a4e64809db037 Mon Sep 17 00:00:00 2001 From: CNugteren Date: Mon, 27 Jul 2015 07:18:06 +0200 Subject: Now using the new Claduc C++11 OpenCL header --- test/performance/client.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'test/performance/client.h') diff --git a/test/performance/client.h b/test/performance/client.h index c9095967..9f6852d0 100644 --- a/test/performance/client.h +++ b/test/performance/client.h @@ -38,11 +38,8 @@ template class Client { public: - // Types of devices to consider - const cl_device_type kDeviceType = CL_DEVICE_TYPE_ALL; - // Shorthand for the routine-specific functions passed to the tester - using Routine = std::function&, const Buffers&, CommandQueue&)>; + using Routine = std::function&, const Buffers&, Queue&)>; using SetMetric = std::function&)>; using GetMetric = std::function&)>; @@ -63,8 +60,8 @@ class Client { private: // Runs a function a given number of times and returns the execution time of the shortest instance - double TimedExecution(const size_t num_runs, const Arguments &args, const Buffers &buffers, - CommandQueue &queue, Routine run_blas, const std::string &library_name); + double TimedExecution(const size_t num_runs, const Arguments &args, const Buffers &buffers, + Queue &queue, Routine run_blas, const std::string &library_name); // Prints the header of a performance-data table void PrintTableHeader(const bool silent, const std::vector &args); -- cgit v1.2.3