(self, config_path, model_path, threads=16)
| 17 | |
| 18 | class GemmTuner: |
| 19 | def __init__(self, config_path, model_path, threads=16): |
| 20 | self.config_path = Path(config_path) |
| 21 | self.model_path = model_path |
| 22 | self.threads = threads |
| 23 | self.backup_path = self.config_path.parent / f"gemm-config.h.backup_{datetime.now().strftime('%Y%m%d_%H%M%S')}" |
| 24 | self.build_dir = Path("../build") |
| 25 | self.results = [] |
| 26 | |
| 27 | def backup_config(self): |
| 28 | """Backup current configuration file""" |
nothing calls this directly
no outgoing calls
no test coverage detected