summaryrefslogtreecommitdiff
path: root/test/performance
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance')
-rw-r--r--test/performance/client.cpp2
-rw-r--r--test/performance/client.hpp2
2 files changed, 2 insertions, 2 deletions
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<T,U>::PerformanceTest(Arguments<U> &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<T> 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<StatusCode(const Arguments<U>&, Buffers<T>&, Queue&)>;
using Reference2 = std::function<StatusCode(const Arguments<U>&, BuffersHost<T>&, Queue&)>;
using Reference3 = std::function<StatusCode(const Arguments<U>&, BuffersCUDA<T>&, Queue&)>;
- using SetMetric = std::function<void(Arguments<U>&)>;
+ using SetMetric = std::function<void(Arguments<U>&, Queue&)>;
using GetMetric = std::function<size_t(const Arguments<U>&)>;
// The constructor