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/xgemm_direct.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/xgemm_direct.cpp')
-rw-r--r-- | src/tuning/kernels/xgemm_direct.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tuning/kernels/xgemm_direct.cpp b/src/tuning/kernels/xgemm_direct.cpp index c2e8710f..98714da8 100644 --- a/src/tuning/kernels/xgemm_direct.cpp +++ b/src/tuning/kernels/xgemm_direct.cpp @@ -50,6 +50,7 @@ class TuneXgemmDirect { static size_t DefaultN() { return 128; } static size_t DefaultK() { return 128; } static double DefaultFraction() { return (V==1) ? 1.0 : 16.0; } // test all or sample randomly + static size_t DefaultNumRuns() { return 10; } // run every kernel this many times for averaging // Describes how to obtain the sizes of the buffers static size_t GetSizeX(const Arguments<T> &) { return 1; } // N/A for this kernel |