diff options
Diffstat (limited to 'src/tuning/kernels/copy_fast.cpp')
-rw-r--r-- | src/tuning/kernels/copy_fast.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tuning/kernels/copy_fast.cpp b/src/tuning/kernels/copy_fast.cpp index 5d70c219..c9bf478c 100644 --- a/src/tuning/kernels/copy_fast.cpp +++ b/src/tuning/kernels/copy_fast.cpp @@ -49,12 +49,11 @@ class TuneCopy { 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 @@ -108,8 +107,8 @@ class TuneCopy { 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); } }; |