diff --git a/llvm/projects/hpvm-tensor-rt/autotuner/opentuner/autotuner/devtuner.py b/llvm/projects/hpvm-tensor-rt/autotuner/opentuner/autotuner/devtuner.py index 6df1ca82c353af947ae9812491f6c224f52278a9..cd2af2e93d7ffec4a413f5ddef3385c818860c47 100644 --- a/llvm/projects/hpvm-tensor-rt/autotuner/opentuner/autotuner/devtuner.py +++ b/llvm/projects/hpvm-tensor-rt/autotuner/opentuner/autotuner/devtuner.py @@ -166,14 +166,14 @@ def appendTopLine(f_path, accuracy, total_runs, total_comps, speedup): -class ClangFlagsTuner(MeasurementInterface): +class DevTuner(MeasurementInterface): def __init__(self, args): objective = ThresholdAccuracyMinimizeTime(tunerData.accuracy_threshold) input_manager = FixedInputManager(size=tunerData.num_layers) self.configs_list = [] - super(ClangFlagsTuner, self).__init__( + super(DevTuner, self).__init__( args, program_name=args.binary, program_version=self.file_hash(args.binary), input_manager=input_manager, objective=objective) @@ -313,6 +313,6 @@ if __name__ == '__main__': - ClangFlagsTuner.main(argparser.parse_args()) + DevTuner.main(argparser.parse_args())