mirror of
https://github.com/deepseek-ai/DeepGEMM
synced 2025-04-04 22:09:11 +00:00
fix typo
This commit is contained in:
parent
0b5d353dba
commit
de1603d5e4
@ -86,12 +86,12 @@ class ConfigCache:
|
||||
self.cached = {}
|
||||
|
||||
def compute_and_cache(self, m: int, n: int, k: int, num_groups: int, num_sms: int,
|
||||
is_grouped_contigous: bool = False) -> Tuple[int, int, int, int]:
|
||||
signature = str((m, n, k, num_groups, num_sms, is_grouped_contigous))
|
||||
is_grouped_contiguous: bool = False) -> Tuple[int, int, int, int]:
|
||||
signature = str((m, n, k, num_groups, num_sms, is_grouped_contiguous))
|
||||
signature = hash_to_hex(signature)
|
||||
if signature in self.cached:
|
||||
return self.cached[signature]
|
||||
best_config = get_best_configs(m, n, k, num_groups, num_sms, is_grouped_contigous)
|
||||
best_config = get_best_configs(m, n, k, num_groups, num_sms, is_grouped_contiguous)
|
||||
self.cached[signature] = best_config
|
||||
return best_config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user