Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwillemsen committed Jan 11, 2024
1 parent a4d92de commit 75cea16
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 76 deletions.
76 changes: 76 additions & 0 deletions experiment_files/methodology_paper_evaluation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"version": "0.1.2",
"name": "Methodology paper evaluation",
"folder_id": "methodology_paper_evaluation",
"kernels_path": "../cached_data_used/kernels",
"bruteforced_caches_path": "../cached_data_used/cachefiles",
"visualization_caches_path": "../cached_data_used/visualizations",
"kernels": [
"pnpoly",
"convolution"
],
"GPUs": [
"RTX_2080_Ti",
"RTX_3090"
],
"minimization": true,
"resolution": 1e3,
"cutoff_percentile": 0.96,
"cutoff_percentile_start": 0.5,
"cutoff_type": "fevals",
"objective_time_keys": [
"compilation",
"benchmark",
"framework",
"search_algorithm",
"validation"
],
"objective_performance_keys": [
"time"
],
"plot": {
"plot_x_value_types": [
"fevals",
"time",
"aggregated"
],
"plot_y_value_types": [
"normalized",
"baseline"
],
"confidence_level": 0.95,
"compare_baselines": false,
"compare_split_times": false
},
"strategy_defaults": {
"repeats": 100,
"minimum_number_of_evaluations": 20,
"stochastic": true,
"record_data": [
"time",
"GFLOP/s"
]
},
"strategies": [
{
"name": "genetic_algorithm",
"strategy": "genetic_algorithm",
"display_name": "Genetic Algorithm"
},
{
"name": "particle_swarm_optimization",
"strategy": "pso",
"display_name": "PSO"
},
{
"name": "firefly",
"strategy": "firefly_algorithm",
"display_name": "Firefly"
},
{
"name": "differential_evolution",
"strategy": "diff_evo",
"display_name": "Differential Evolution"
}
]
}
75 changes: 0 additions & 75 deletions experiment_files/methodology_paper_example.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/autotuning_methodology/baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def get_curve_over_time(self, time_range: np.ndarray, dist=None, confidence_leve
smoothing_factor = 0.0
if smoothing_factor > 0.0:
window_size = min(time_range.size, ceil(time_range.size * smoothing_factor))
if time_range.size > 1 and window_size < 1:
if time_range.size > 1 and window_size > 1:
curve_over_time = moving_average(curve_over_time, window_size)
return curve_over_time

Expand Down

0 comments on commit 75cea16

Please sign in to comment.