diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-01 16:55:21 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-01 16:55:21 +0200 |
commit | ecc704cc76625fa0601b06ce5246831a14f18c8a (patch) | |
tree | 7912cbd46ab165b1d2ee00cb91e6be09c412d936 /src/tuning/kernels/xgemv.cpp | |
parent | a9d35cf04ceb2ba2185c7520dbff79580abbd785 (diff) |
Added default num-runs to the tuner adding averaging over 10 runs as a default for the GEMM direct kernel
Diffstat (limited to 'src/tuning/kernels/xgemv.cpp')
-rw-r--r-- | src/tuning/kernels/xgemv.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tuning/kernels/xgemv.cpp b/src/tuning/kernels/xgemv.cpp index 7229602d..dd5b01ca 100644 --- a/src/tuning/kernels/xgemv.cpp +++ b/src/tuning/kernels/xgemv.cpp @@ -50,6 +50,7 @@ class TuneXgemv { static size_t DefaultN() { return 2048; } 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 // Describes how to obtain the sizes of the buffers static size_t GetSizeX(const Arguments<T> &args) { return args.n; } |