diff options
Update benchmark scripts
-rw-r--r-- | ldc_2d_benchmark.py | 4 | ||||
-rw-r--r-- | ldc_3d_benchmark.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ldc_2d_benchmark.py b/ldc_2d_benchmark.py index fd15e8d..df697ea 100644 --- a/ldc_2d_benchmark.py +++ b/ldc_2d_benchmark.py @@ -66,12 +66,12 @@ base_2_configs = list(filter( align_configs = list(filter( lambda config: config[0] % config[1][0] == 0, - itertools.product(*[base_10_sizes, base_10_layouts, precisions, {True}, {True, False}]) + itertools.product(*[base_10_sizes, base_10_layouts, precisions, {True, False}, {True, False}]) )) pad_configs = list(filter( lambda config: config[0] - config[1][0] >= -100, - itertools.product(*[base_10_sizes, base_2_layouts, precisions, {True}, {True}]) + itertools.product(*[base_10_sizes, base_2_layouts, precisions, {True, False}, {True}]) )) lbm = LBM(D2Q9) diff --git a/ldc_3d_benchmark.py b/ldc_3d_benchmark.py index 5568c62..2075b32 100644 --- a/ldc_3d_benchmark.py +++ b/ldc_3d_benchmark.py @@ -69,12 +69,12 @@ base_2_configs = list(filter( align_configs = list(filter( lambda config: config[0] % config[1][0] == 0, - itertools.product(*[base_10_sizes, base_10_layouts, descriptors, precisions, {True}, {True, False}]) + itertools.product(*[base_10_sizes, base_10_layouts, descriptors, precisions, {True, False}, {True, False}]) )) pad_configs = list(filter( lambda config: config[0] - config[1][0] >= -28, - itertools.product(*[base_10_sizes, base_2_layouts, descriptors, precisions, {True}, {True}]) + itertools.product(*[base_10_sizes, base_2_layouts, descriptors, precisions, {True, False}, {True}]) )) measurements = [] |