mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
Fixed a bug related to split_k and prune unnecessary tuning space (#332)
* refine tuning scrit by adding prune_configs, also fixed a bug in generating tuning configs * fixed a bug in returning the empty config
This commit is contained in:
@@ -96,7 +96,7 @@ class Autotuner(KernelInterface):
|
||||
key_values.append(kwargs[name])
|
||||
key = tuple(key_values)
|
||||
|
||||
return self.cache[key] if key in self.cache else Config()
|
||||
return self.cache[key] if key in self.cache else Config({})
|
||||
|
||||
|
||||
def run(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user