From 243cef73db53b5d8ce6c55f95e18c4412539d210 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sun, 2 Oct 2016 21:23:23 +0200 Subject: Set the default number of runs for all kernels to at least 2 runs --- src/tuning/kernels/xaxpy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tuning/kernels/xaxpy.cpp') diff --git a/src/tuning/kernels/xaxpy.cpp b/src/tuning/kernels/xaxpy.cpp index 1fd4ebad..403ee9e4 100644 --- a/src/tuning/kernels/xaxpy.cpp +++ b/src/tuning/kernels/xaxpy.cpp @@ -51,7 +51,7 @@ class TuneXaxpy { static size_t DefaultN() { return 4096*1024; } static size_t DefaultK() { return 1; } // N/A for this kernel static double DefaultFraction() { return 1.0; } // N/A for this kernel - static size_t DefaultNumRuns() { return 1; } // run every kernel this many times for averaging + static size_t DefaultNumRuns() { return 2; } // run every kernel this many times for averaging // Describes how to obtain the sizes of the buffers static size_t GetSizeX(const Arguments &args) { return args.n; } -- cgit v1.2.3