We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f0fbb commit d80f2baCopy full SHA for d80f2ba
tools/tpp-tune/tpp-tune.py
@@ -46,6 +46,8 @@ def autotune(choices: Dict[str, Sequence[ir.Attribute]]) -> Dict[str, ir.Attribu
46
@walker
47
def choices_finder(op):
48
if isinstance(op, transform_tune.TuneSelectOp):
49
+ if op.name in choices:
50
+ raise RuntimeError(f"options name collision: {op.name} used twice")
51
choices[op.name] = tuple(op.options)
52
53
choices_finder(schedule.operation)
0 commit comments