diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-08-24 21:15:14 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-08-24 21:15:14 +0200 |
commit | 161fd8514d75d61045e1683e091f1851656c28da (patch) | |
tree | d0027323a9f45ea4fd2a82bb029f5ba9d58adf44 /src/utilities/utilities.hpp | |
parent | 4d9d03ba512fb404537180a42cf17fb3e10a8033 (diff) | |
parent | da28cc5e9315729bc7f9078f1ae43ac68740ec87 (diff) |
Merge branch 'master' into im_to_col
Diffstat (limited to 'src/utilities/utilities.hpp')
-rw-r--r-- | src/utilities/utilities.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp index ad6edf3a..fae69b63 100644 --- a/src/utilities/utilities.hpp +++ b/src/utilities/utilities.hpp @@ -92,6 +92,14 @@ constexpr auto kArgDilationW = "dilationw"; // The tuner-specific arguments in string form constexpr auto kArgFraction = "fraction"; +constexpr auto kArgHeuristicSelection = "heuristic"; +// PSO tuner-specific arguments in string form +constexpr auto kArgPsoSwarmSize = "pso_swarm_size"; +constexpr auto kArgPsoInfGlobal = "pso_inf_global"; +constexpr auto kArgPsoInfLocal = "pso_inf_local"; +constexpr auto kArgPsoInfRandom = "pso_inf_random"; +// Annealing tuner-specific arguments in string form +constexpr auto kArgAnnMaxTemp = "ann_max_temperature"; // The common arguments in string form constexpr auto kArgPlatform = "platform"; @@ -197,7 +205,13 @@ struct Arguments { size_t ap_size = 1; size_t scalar_size = 1; // Tuner-specific arguments + size_t heuristic_selection = 0; double fraction = 1.0; + size_t pso_swarm_size = 8; + double pso_inf_global = 0.3; + double pso_inf_local = 0.6; + double pso_inf_random = 0.1; + double ann_max_temperature = 1.0; // Is it a valid default value? // Client-specific arguments int compare_clblas = 1; int compare_cblas = 1; |