diff options
Diffstat (limited to 'test/performance/client.cpp')
-rw-r--r-- | test/performance/client.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/performance/client.cpp b/test/performance/client.cpp index 076481f7..b2b579b1 100644 --- a/test/performance/client.cpp +++ b/test/performance/client.cpp @@ -184,9 +184,6 @@ Arguments<U> Client<T,U>::ParseArguments(int argc, char *argv[], const size_t le template <typename T, typename U> void Client<T,U>::PerformanceTest(Arguments<U> &args, const SetMetric set_sizes) { - // Prints the header of the output table - PrintTableHeader(args); - // Initializes OpenCL and the libraries auto platform = Platform(args.platform_id); auto device = Device(platform, args.device_id); @@ -199,6 +196,12 @@ void Client<T,U>::PerformanceTest(Arguments<U> &args, const SetMetric set_sizes) if (args.compare_cublas) { cublasSetup(args); } #endif + // Optionally overrides parameters if "CLBLAST_JSON_FILE_OVERRIDE" environmental variable is set + OverrideParametersFromJSONFiles(device(), args.precision); + + // Prints the header of the output table + PrintTableHeader(args); + // Iterates over all "num_step" values jumping by "step" each time auto s = size_t{0}; while(true) { |