From dfd332524ab0e66a04d803bb075787e35cd2db1a Mon Sep 17 00:00:00 2001 From: mcian Date: Mon, 21 Aug 2017 14:09:11 +0200 Subject: Remove multistrategy and related functions --- src/tuning/kernels/xgemv.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/tuning/kernels/xgemv.cpp') diff --git a/src/tuning/kernels/xgemv.cpp b/src/tuning/kernels/xgemv.cpp index 7d23eeec..00115b6c 100644 --- a/src/tuning/kernels/xgemv.cpp +++ b/src/tuning/kernels/xgemv.cpp @@ -52,12 +52,11 @@ class TuneXgemv { static size_t DefaultBatchCount() { return 1; } // N/A for this kernel static double DefaultFraction() { return 1.0; } // N/A for this kernel static size_t DefaultNumRuns() { return 10; } // run every kernel this many times for averaging - static size_t DefaultNumSearchStragegy() { return 1; } // N/A for this kernel static size_t DefaultSwarmSizePSO() { return 8; } // N/A for this kernel static double DefaultInfluenceGlobalPSO(){ return 0.1; }// N/A for this kernel static double DefaultInfluenceLocalPSO(){ return 0.3; }// N/A for this kernel static double DefaultInfluenceRandomPSO(){ return 0.6; }// N/A for this kernel - static size_t DefaultHeuristic(){ return size_t{0};} // Full search + static size_t DefaultHeuristic(){ return static_cast (cltune::SearchMethod::FullSearch);} static double DefaultMaxTempAnn(){ return 1.0;}// N/A for this kernel // Describes how to obtain the sizes of the buffers @@ -157,8 +156,8 @@ class TuneXgemv { static std::string PerformanceUnit() { return "GB/s"; } // Returns which Heuristic to run - static size_t GetCurrentHeuristic(const Arguments &args){ - return size_t{0}; //Full search + static size_t GetHeuristic(const Arguments &args){ + return static_cast (cltune::SearchMethod::FullSearch); } }; -- cgit v1.2.3