diff options
author | mcian <mcian86@gmail.com> | 2017-08-21 14:09:11 +0200 |
---|---|---|
committer | mcian <mcian86@gmail.com> | 2017-08-21 14:09:11 +0200 |
commit | dfd332524ab0e66a04d803bb075787e35cd2db1a (patch) | |
tree | 98d826500b435c2cb5313bc5348cb581fe716e63 /src/tuning/kernels/xgemv.cpp | |
parent | 4adee608843b138f2edf15fbefdb61610edecb51 (diff) |
Remove multistrategy and related functions
Diffstat (limited to 'src/tuning/kernels/xgemv.cpp')
-rw-r--r-- | src/tuning/kernels/xgemv.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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<size_t> (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<T> &args){ - return size_t{0}; //Full search + static size_t GetHeuristic(const Arguments<T> &args){ + return static_cast<size_t> (cltune::SearchMethod::FullSearch); } }; |