Commit 5a031cf2 authored by Soheil Soltani's avatar Soheil Soltani
Browse files

Modify the autotuning levels

expand the intervals between the levels to prevent the optimization algorithm from picking a value that bears insignificant improvement compared to one lower factor
parent c6df6765
...@@ -1072,27 +1072,19 @@ static int valid_with_gpu_elpa2(elpa_index_t index, int n, int new_value) { ...@@ -1072,27 +1072,19 @@ static int valid_with_gpu_elpa2(elpa_index_t index, int n, int new_value) {
} }
static int max_stored_rows_cardinality(elpa_index_t index) { static int max_stored_rows_cardinality(elpa_index_t index) {
return 8; return 4;
} }
static int max_stored_rows_enumerate(elpa_index_t index, int i) { static int max_stored_rows_enumerate(elpa_index_t index, int i) {
switch(i) { switch(i) {
case 0: case 0:
return 63; return 64;
case 1: case 1:
return 79; return 128;
case 2: case 2:
return 95;
case 3:
return 120;
case 4:
return 256; return 256;
case 5: case 3:
return 320; return 512;
case 6:
return 384;
case 7:
return 448;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment