summaryrefslogtreecommitdiff
path: root/src/tuning/kernels/xger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tuning/kernels/xger.cpp')
-rw-r--r--src/tuning/kernels/xger.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tuning/kernels/xger.cpp b/src/tuning/kernels/xger.cpp
index 09c5ba3f..14a98761 100644
--- a/src/tuning/kernels/xger.cpp
+++ b/src/tuning/kernels/xger.cpp
@@ -49,12 +49,11 @@ class TuneXger {
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
@@ -116,8 +115,8 @@ class TuneXger {
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);
}
};