Skip to content

Commit 1445116

Browse files
author
Neumann, Jan
committed
Add more variants to the full settings presets list
1 parent 6dad4b1 commit 1445116

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lib/vectorize/settings_presets.py

+11-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ class _Barrier:
6464

6565

6666
_VARIANTS_TEST_OPTIMIZATION_EFFECT_PARTIALS_ALL_COMBINATIONS: list[list[VectorizeSettingsPartial | _Barrier]] = [
67+
[
68+
VectorizeSettingsPartial(allow_repeat_gathers=False),
69+
VectorizeSettingsPartial(allow_repeat_gathers=True),
70+
],
71+
[
72+
VectorizeSettingsPartial(granularize_by_weight=False),
73+
VectorizeSettingsPartial(granularize_by_weight=True),
74+
],
6775
[
6876
VectorizeSettingsPartial(transpose_fixed_count_reduce=False),
6977
VectorizeSettingsPartial(transpose_fixed_count_reduce=True),
@@ -124,7 +132,9 @@ def _iter_all_variants(
124132
yield from _iter_all_variants(tail, base_this)
125133

126134

127-
VectorizeSettingsPresets = Literal["default_only", "tuning", "test_optimizations_effect", "test_optimizations_effect_all_combinations"]
135+
VectorizeSettingsPresets = Literal[
136+
"default_only", "tuning", "test_optimizations_effect", "test_optimizations_effect_all_combinations"
137+
]
128138

129139

130140
_VARIANTS_MAP: dict[VectorizeSettingsPresets, list[list[VectorizeSettingsPartial | _Barrier]]] = {

0 commit comments

Comments
 (0)