From eb89371d2b36141ca94b1351c5217942a40d390c Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Wed, 3 Jan 2018 20:19:45 +0100 Subject: Added a queue argument to the get-size function when running the tests/clients --- test/performance/client.cpp | 2 +- test/performance/client.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/performance') diff --git a/test/performance/client.cpp b/test/performance/client.cpp index 8b18b9a9..83088223 100644 --- a/test/performance/client.cpp +++ b/test/performance/client.cpp @@ -214,7 +214,7 @@ void Client::PerformanceTest(Arguments &args, const SetMetric set_sizes) while(true) { // Sets the buffer sizes (routine-specific) - set_sizes(args); + set_sizes(args, queue); // Populates input host matrices with random data std::vector x_source(args.x_size); diff --git a/test/performance/client.hpp b/test/performance/client.hpp index 0b6176c8..eb224976 100644 --- a/test/performance/client.hpp +++ b/test/performance/client.hpp @@ -48,7 +48,7 @@ class Client { using Reference1 = std::function&, Buffers&, Queue&)>; using Reference2 = std::function&, BuffersHost&, Queue&)>; using Reference3 = std::function&, BuffersCUDA&, Queue&)>; - using SetMetric = std::function&)>; + using SetMetric = std::function&, Queue&)>; using GetMetric = std::function&)>; // The constructor -- cgit v1.2.3